forked from mirror/openmw-tes3mp
StringUtils: use the locale-unaware tolower function
There is no change in behaviour since we were using the C locale. The locale-aware tolower is much slower than the locale-unaware one. At least on Linux/GCC it calls dynamic_cast's, and is overall slower by an order of magnitude.openmw-38
parent
44dd62067e
commit
27e669296e
@ -1,8 +0,0 @@
|
||||
#include "stringops.hpp"
|
||||
|
||||
namespace Misc
|
||||
{
|
||||
|
||||
std::locale StringUtils::mLocale = std::locale::classic();
|
||||
|
||||
}
|
Loading…
Reference in New Issue