Ejemplo n.º 1
0
        /// <summary>
        /// Create new instance of <see cref="BigArrayConfiguration{T}"/> with <see cref="DefaultConfiguration"/>
        /// </summary>
        public BigArrayConfiguration()
        {
            Balancer        = new FixedBalancer();
            BlockCollection = new InternalBlockList <Block <T> >();

            //Turn off JITO until it will be fully implemented and tested
            UseJustInTimeOptimization = false;
        }
Ejemplo n.º 2
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) }
            };
        }