PKHeX/PKHeX.Core
Kurt 927ccee613 Cache all created regexes
Regex objects aren't cheap, and the RegexCache has DefaultMaxCacheSize = 15.

We're checking 4,000 regexes for each unique string, so just keep the created regexes around instead of cycling new through the cache.

+4MB passive consumption, but each IsFiltered call no longer generates >4MB of discarded objects.

My unit tests run >25% faster now... nice?!
2021-06-03 17:24:45 -07:00
..
Editing Minor tweaks 2021-06-03 12:04:19 -07:00
Game Minor tweaks 2021-06-03 12:04:19 -07:00
Legality Cache all created regexes 2021-06-03 17:24:45 -07:00
MysteryGifts Minor clean 2021-05-29 15:31:47 -07:00
PersonalInfo More deferral tweaks for non-HA having HA 2021-04-22 13:47:33 -07:00
PKM Minor tweaks 2021-06-03 12:04:19 -07:00
Resources Update French Translation (#3209) 2021-05-24 09:16:07 -07:00
Ribbons Rename Gen3 Champ ribbon to be more accurate 2021-04-10 12:09:43 -07:00
Saves Separate scblock ctor's 2021-06-03 12:35:39 -07:00
Util Minor tweaks 2021-06-03 12:04:19 -07:00
app.config Converted PKHeX.Core to .Net Standard 2017-05-11 23:34:18 -05:00
PKHeX.Core.csproj Use range/index 2021-05-14 15:30:55 -07:00