timotheecour:
> is there anything more efficient than this?
>
> auto byKeyValue(T)(T a)if(isAssociativeArray!T){
> return a.byKey.map!(b=>tuple(b, a[b]));
> }
zipping byKey and byValue could be faster, but there's no
guarantee its result is correct.
Bye,
bearophile