I noticed a ton of string_length() calls on empty space strings, each one making an sf::Text object to measure. I thought caching the result would make the slow dialogs open faster but it didn't. Still might as well do it, though.
I noticed a ton of string_length() calls on empty space strings, each one making an sf::Text object to measure. I thought caching the result would make the slow dialogs open faster but it didn't. Still might as well do it, though.