Hi Steve,
When implementing 'big arrays' via jagged arrays in the past, something I found useful was being able to test them in 'everyday' machines, aka machines with not enough RAM to be able to reach the Array.MaxLength before hitting the memory limit.
The way to do that was to customize that upper limit from which the 'array of arrays' was needed (which is normally Array.MaxLength), being able to somehow replicate the impact of having n jagged arrays in a 512GB RAM machine, but in machines with 32/64GB RAM.
Any chance you can add some way to configure (reduce) the length limit from which ElementChunk1<T>[] stops being used, to be able to replicate scenarios like the mentioned above?
Thanks for the project!
Hi Steve,
When implementing 'big arrays' via jagged arrays in the past, something I found useful was being able to test them in 'everyday' machines, aka machines with not enough RAM to be able to reach the
Array.MaxLengthbefore hitting the memory limit.The way to do that was to customize that upper limit from which the 'array of arrays' was needed (which is normally
Array.MaxLength), being able to somehow replicate the impact of having n jagged arrays in a 512GB RAM machine, but in machines with 32/64GB RAM.Any chance you can add some way to configure (reduce) the length limit from which
ElementChunk1<T>[]stops being used, to be able to replicate scenarios like the mentioned above?Thanks for the project!