Thread overview
[Issue 2504] Reserve for associative arrays
Mar 10, 2016
Jon Degenhardt
Nov 30, 2016
Jon Degenhardt
Dec 24, 2017
greenify
Dec 17, 2022
Iain Buclaw
March 10, 2016
https://issues.dlang.org/show_bug.cgi?id=2504

Jon Degenhardt <jrdemail2000-dlang@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrdemail2000-dlang@yahoo.co
                   |                            |m

--- Comment #5 from Jon Degenhardt <jrdemail2000-dlang@yahoo.com> ---
I have noticed meaningful performance degradation after associative arrays reach about 10 million entries. I gave some GC related numbers in this forum post: https://forum.dlang.org/post/flxmwyeuhjcuekfeduar@forum.dlang.org

In addition to GC stats, it appears likely that resizing the underlying array will be costly at these numbers. Having an ability to reserve capacity for a minimum number of keys may address this.

--
November 30, 2016
https://issues.dlang.org/show_bug.cgi?id=2504

--- Comment #6 from Jon Degenhardt <jrdemail2000-dlang@yahoo.com> ---
Discussion and proposal with some general agreement in this forum thread: https://forum.dlang.org/post/nvbn0a$2tlg$1@digitalmars.com

--
October 03, 2017
https://issues.dlang.org/show_bug.cgi?id=2504

Alexandru Razvan Caciulescu <alexandru.razvan.c@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |alexandru.razvan.c@gmail.co
                   |                            |m
           Assignee|nobody@puremagic.com        |alexandru.razvan.c@gmail.co
                   |                            |m

--
December 24, 2017
https://issues.dlang.org/show_bug.cgi?id=2504

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #7 from greenify <greeenify@gmail.com> ---
The latest work happened at https://github.com/dlang/druntime/pull/1929

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=2504

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
October 15, 2023
https://issues.dlang.org/show_bug.cgi?id=2504

Steven Schveighoffer <schveiguy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=17881

--