1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 08:15:35 +00:00
openmw/components/fontloader
jvoisin 5470b3168b Use a switch-case instead of a map, on elsid@' advice
elsid@ said:

> From my measurements static map + exceptions is slower than original code
when loading polish morrowind localization by 25% with GCC 10.2.0. Switch-based
solution is about 25x times faster than the original and static map with find
only is ~20x faster.
2021-06-29 18:24:40 +02:00
..
fontloader.cpp Use a switch-case instead of a map, on elsid@' advice 2021-06-29 18:24:40 +02:00
fontloader.hpp Validate GUI scaling and place it to the launcher 2021-04-15 15:18:32 +04:00