A significant performance difference

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 1 03:51:21 PDT 2014


On Mon, 01 Sep 2014 09:16:04 +0000
bearophile via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> https://issues.dlang.org/show_bug.cgi?id=13410
i added 'quick-hack-patch' to your report which halves execution time
without significantly hurting performance in other AA uses.

now there is no difference between `long v = aa.byValue.front;` and
`long v = aa[k];`.

yet aa.remove() still hurts badly, and i don't think that we can do any
better with it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140901/4d46c9fc/attachment.sig>


More information about the Digitalmars-d-learn mailing list