[Issue 2900] Array appending slowed drastically since integration of druntime

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 6 12:53:44 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2900





------- Comment #6 from dsimcha at yahoo.com  2009-05-06 14:53 -------
Sure, but could you please specify what's wrong with it and/or give me hints as
to how to fix it?  It seems right to me, though I'm pretty new to submitting
patches.  Also, while looking at it, I found a small error in my BlkInfo
caching patch that needs fixing anyhow.  I initially misunderstood how setAttr
works.

if(gcx.infoCache.base is p) {
     gcx.infoCache.attr = mask;
}

should be something like:

if(gcx.infoCache.base is p) {
     gcx.infoCache.attr = mask & oldb;
}


-- 



More information about the Digitalmars-d-bugs mailing list