cache ascii chars directly

This commit is contained in:
2026-09-06 16:06:14 +02:00
committed by tobid7
parent b6f9688de5
commit 9f6deeb18d
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;