Inefficient switch for control characters in the console implementation #6

Open
opened 2019-06-12 00:40:54 +02:00 by PlaneteCasio · 0 comments
Owner

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.

As [pointed out by Lephé](https://www.planet-casio.com/Fr/forums/lecture_sujet.php?id=15316&page=4#157408), the [switch for control characters](https://git.planet-casio.com/Memallox/libc/blob/sh3port/newlib/libc/sys/sh3eb/console.c#L46) which is performed by every single character printed is somewhat inefficient. He suggested the use of a 256-byte lookup table.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PlaneteCasio/libc#6
No description provided.