[Issue 2900] Array appending slowed drastically since integration of druntime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 25 21:35:45 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2900
------- Comment #2 from dsimcha at yahoo.com 2009-04-25 23:35 -------
Created an attachment (id=341)
--> (http://d.puremagic.com/issues/attachment.cgi?id=341&action=view)
Another possible fix: query just size first in lifetime.
Here's another possible fix. This patch simply queries only the size of the
block in lifetime.d and, if the array does not need to be reallocated, skips
the querying of the full block info.
--
More information about the Digitalmars-d-bugs
mailing list