void set ( int index , int value ) { int chunk = assertSpace ( index ) ; chunks [ chunk ] [ index & mask ] = value ; }
Sets a value an grows chunks dynamically if exceeding size or missing chunk encountered