At a slight tangent: is there a way to reserve capacity for an associative array? The obvious way does not seem to work.
No.
I noticed also in a talk at nativecode (possibly by Herb Sutter) that C++ gives you the ability to tune almost any parameter of the associative array implementation in the standard library. (I'm not a C++ guy). Is this entirely spurious, or would it be helpful for D?
Yes, if we had an AA in phobos.
