Brad Anderson:
you rarely want to iterate through an associative array without having both the key and the value on hand.
This is very false. I have tons of cases where you only iterate on values or keys. On the other hand I have suggested several times that I'd like a byPairs (that yields keys-values tuple pairs).
Doing byKey requires you to do a lookup to get the corresponding value which just takes up cycles unnecessarily.
Usually people use a "AA.byKey.zip(AA.byValue)" that is not reliable.
Bye, bearophile