RectangleList, accessing Arrays ensureStorageAllocated


#1

i add thousands of Rectangles to a Rectangle List. Current performance bottleneck is the reallocation, would be nice if its possible to preallocate the space in the array, just accessing array.ensureStorageAllocated()


#2

I'd never have expected that to be a bottleneck, but good request, I'll add something to make that accessible!