EMSI Containers and HashMap of HashMaps

Tobias Pankrath tobias+dlang at pankrath.net
Sun May 2 09:38:37 UTC 2021


On Sunday, 2 May 2021 at 08:59:15 UTC, Imperatorn wrote:

>
> ```d
> HashMap!(int, RefCounted!Map) mapOfMaps = HashMap!(int, 
> RefCounted!Map)(1024);
> ```

That only fixes it, because you are avoiding the rehash with the
initial size.



More information about the Digitalmars-d-learn mailing list