Ortham opened this issue 3 years ago · 2 comments
Compiling plugin regexes is responsible for 63% of the time spent calling MetadataList::FindPlugin, and 25% of the time spent constructing PluginItem objects in LOOT:
MetadataList::FindPlugin
PluginItem
With a global cache (static std::map<std::string, std::regex>) hacked in, things look a lot better:
static std::map<std::string, std::regex>
Done in 15781c9.