public static void UnInit() { s_instance = null; }
/// <param name="capacity">Initial cache capacity. Should not be divisible by a small prime number. Justification here: https://docs.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentdictionary-2.-ctor?view=netcore-3.1. /// </param> public static void Init(int capacity) { s_instance = new RegexMatchCache(capacity); }