Skip to content

Allow custom length limit for ElementChunk1<T>[] #1

Description

@eduherminio

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions