public void Init() { _pool = new ReferenceObjectPool(maxCount: 20000, cleatTime: 2); _objs = new List <testObj>(); _pool.RecedeCache = true; _stop = new Stopwatch(); _startMemory = GC.GetTotalMemory(true); _stop.Restart(); }
static BuffManagerExpansion() { _buffPool = new ReferenceObjectPool(); _buffPool.RecedeCache = true; }