he other thing which should be optimized is probably renderline() this is in the mode?.cpp files. Don't know how to do this. Any suggestions?
You could try looking at the assembly code which gcc produces, and then work on optimizing it at that level (sometimes it's easier to see inefficiencies when you look at the low level code, and it gives a good starting place since you might want to rewrite it in assembly anyway). Try to make use of conditional execution and load/store multiple when possible.
Last edited by a moderator: