cache ascii chars directly

This commit is contained in:
2026-09-06 16:13:26 +02:00
parent fa7812a51b
commit 847259cb48
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;