cache ascii chars directly

This commit is contained in:
2026-09-01 21:20:52 +02:00
parent dd97aab749
commit 9ed3ed233d
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;