PKHeX/PKHeX.Core/Util
Kurt c301ce88ab Update Random to be a bit more thread safe
Random isn't thread safe; users of PKHeX.Core.dll might run multithreaded operations (see PKSM + ALM), so we need to have a thread-specific RNG available.

Thread Local get; to improve performance, save the random object locally whenever it is used more than once in the method.

https://docs.microsoft.com/en-us/dotnet/api/system.threading.threadlocal-1?redirectedfrom=MSDN&view=netframework-4.8
https://stackoverflow.com/questions/18333885/threadstatic-v-s-threadlocalt-is-generic-better-than-attribute/18337158#18337158
2020-01-25 21:49:52 -08:00
..
ArrayUtil.cs Use more performat array join 2019-11-20 17:07:55 -08:00
BigEndian.cs Minor clean 2019-09-10 22:07:50 -07:00
DataUtil.cs Remove unused legality check strings 2020-01-25 17:37:47 -08:00
DateUtil.cs Extract y2k datetime logic, also wardrobe tweak 2019-09-15 22:12:32 -07:00
FileUtil.cs Add new lengths 2020-01-09 08:17:41 -08:00
FlagUtil.cs Misc clean 2019-09-10 00:21:51 -07:00
MessageStrings.cs Fix Import Count on Load Boxes (#2308) 2019-05-15 09:11:48 -07:00
NetUtil.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
PathUtil.cs Relocate FFFF trim (and 0000) to same location 2019-03-20 22:13:09 -07:00
RandUtil.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
ReflectUtil.cs Indicate known block types at top 2020-01-23 20:11:39 -08:00
StringUtil.cs Add more string search methods 2020-01-02 12:06:58 -08:00
Util.cs Add custom int/uint parse tests 2020-01-02 11:11:31 -08:00