public Allocator(long memoryPoolSize,
BufferPool<ulong> idBufferPool = null, BufferPool<Allocation> allocationBufferPool = null, BufferPool<int> tableBufferPool = null)
{
this.memoryPoolSize = memoryPoolSize;
if (idBufferPool == null)
idBufferPool = BufferPools<ulong>.Locking;
if (allocationBufferPool == null)
allocationBufferPool = BufferPools<Allocation>.Locking;
if (tableBufferPool == null)
tableBufferPool = BufferPools<int>.Locking;
allocations = new QuickDictionary<ulong, Allocation>(idBufferPool, allocationBufferPool, tableBufferPool);
}