Balancer with fixed size of DefaultBlockSize and MaxBlockSize
Inheritance: IBalancer
Beispiel #1
0
        static TestSampleManager()
        {
            var balancer = new FixedBalancer();
            int blockSize = balancer.DefaultBlockSize;

            ArrayPerSize = new Dictionary<BigArraySize, BigArray<string>>
            {
                {BigArraySize.Small, GetArray(4*blockSize)},
                {BigArraySize.Middle, GetArray(16*blockSize)},
                {BigArraySize.Large, GetArray(64*blockSize)}
            };
        }