Tests/IMToolsTests.cs
/// <summary>Creates the new collection with the empty partions</summary>
Creates the new collection with the empty partions
Creates the new collection with the empty partions
[MethodImpl((MethodImplOptions)256)]
        public static ImHashMap234<K, V>[] CreateEmpty<K, V>(int partCountPowerOfTwo = PART_COUNT_POWER_OF_TWO)
        {
            var parts = new ImHashMap234<K, V>[partCountPowerOfTwo];
            for (var i = 0; i < parts.Length; ++i)
                parts[i] = ImHashMap234<K, V>.Empty;
            return parts;
        }
[ MethodImpl ( ( MethodImplOptions ) 256 ) ] public static ImHashMap234 < K , V > [ ] CreateEmpty < K , V > ( int partCountPowerOfTwo = PART_COUNT_POWER_OF_TWO ) { var parts = new ImHashMap234 < K , V > [ partCountPowerOfTwo ] ; for ( var i = 0 ; i < parts . Length ; ++ i ) parts [ i ] = ImHashMap234 < K , V > . Empty ; return parts ; }
Creates the new collection with the empty partions
Creates the new collection with the empty partions
partCountPowerOfTwo
int