cache ascii chars directly

This commit is contained in:
2026-09-06 15:58:16 +02:00
parent 11a480136b
commit 1bf103c894
2 changed files with 17 additions and 0 deletions
+2
View File
@@ -92,6 +92,8 @@ class PD_API Font {
* **Now using unordered map**
*/
std::unordered_map<u32, Codepoint> CodeMap;
/** need some performance tweaks */
std::array<Codepoint, 128> pAsciiCache;
/** TMS */
struct TMELEM {
PD::u32 ID;