Inefficient switch for control characters in the console implementation #6
Open
opened 4 years ago by PlaneteCasio
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
As pointed out by Lephé, the switch for control characters which is performed by every single character printed is somewhat inefficient. He suggested the use of a 256-byte lookup table.