— Unsure if this properly works for arrays, but worth a shot
The point of pre-allocation is to use all the memory we are going to use, to avoid the speed cost of allocating only when needed
— I see
— So by doing that, adds and removals go faster
— Or, at least adds
— How is the structure currently?
— Single-precision typed array for first character, then a length array, then a string array
— [ 'charIndex': [ 'strLenIndex': 'char' ]]
— With increased nesting for charIndex with higher precision?