On Mon, 1 Sep 2014 09:21:03 +0200 Daniel Kozak via Digitalmars-d-learn <[email protected]> wrote:
> I think main problem is in calling delegates (x.byKey.front and > x.byValue.front;). If I change x.byValue.front with x[j], It makes > program a lot faster yes. replacing `p = x.byValue.front;` by `p = x[j];` cutted down execution time from 3.2 seconds to 1.8 seconds with my gdc. i always dreamt about official 'get any key from AA' API. and, btw, 'get value and remove key' API too. they are useful sometimes. seems that i have to write another silly patch for this. ;-)
signature.asc
Description: PGP signature
