[Issue 24860] array appending can create stale memory references

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 14 18:17:47 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24860

--- Comment #4 from Steven Schveighoffer <schveiguy at gmail.com> ---
(In reply to Steven Schveighoffer from comment #3)
> However, in the next release I have modified the growth factor for small
> blocks to still use the algorithm for smaller blocks (similar to Appender),
> so ironically, this will introduce the problem.

At first I thought 2.110 would be the release that contains this, but it's not.
So we can wait a bit on fixing, and maybe the GC changes I'm planning will make
this issue moot.

--


More information about the Digitalmars-d-bugs mailing list