On 1/17/12 4:49 PM, bearophile wrote:
Andrei Alexandrescu:

I hate I must ask this:

I am sorry to see you do something you hate :-(

Regarding your question, I'd like keys/values to require () because they do lot 
of work to create the dynamic array, while I like byKey/byValue to be 
properties because (I think) their creation is O(1). But now we can't change 
keys/values. So I'd like to keep all five of them as properties.

I'd like a byPair property too:
http://d.puremagic.com/issues/show_bug.cgi?id=5466

byPair is tricky because std.tuple is not visible from object.

Andrei

Reply via email to