sdlconsole: add a cache
commite2e34df4bcbba6e4b42ef693dd616aef3b186c6e
authorrofl0r <retnyg@gmx.net>
Fri, 20 Oct 2017 14:15:41 +0000 (20 15:15 +0100)
committerrofl0r <retnyg@gmx.net>
Sun, 14 Jan 2018 21:16:34 +0000 (14 21:16 +0000)
treef0175cb1170d443ed255890b712abeb63e276742
parent7b087ecfaa52f8604b1fb584b3293c43c60e18a4
sdlconsole: add a cache

the intention is to speed up operation at the cost of higher memory
usage. IIRC there was a slight performance increase when using it.
this code was written months ago, when i get to it i will make some
benchmarks and either make the code optional (with #ifdef), remove it,
or keep it.
sdlconsole.c
sdlconsole.h