Associative array
Nick Treleaven
nick at geany.org
Sat Oct 14 20:46:45 UTC 2023
On Friday, 13 October 2023 at 11:32:29 UTC, Imperatorn wrote:
> Hello there.
>
> I'm wondering if anyone would be opposed to us/me making
> associative array having resize/reserve public?
>
> Currently there exists private members in druntime etc for this
> but they are not exposed.
>
> Basically I would like to be able to reserve n buckets before
> populating.
There was a PR for that but it wasn't merged. It only reserved
bucket space, not space for elements. See:
https://github.com/dlang/druntime/pull/1929#issuecomment-336799304
More information about the Digitalmars-d
mailing list