On 3/13/12 7:54 PM, H. S. Teoh wrote:
Hi all,

My AA implementation is slowly inching closer to being ready to replace
aaA.d.

Great! This will need compiler restructuring, and in fact offers the perfect opportunity for it. I suggest you to post your implementation here for review first, and assume only the minimal lowerings from the compiler.

Here's something that I thinks we should have:

int[string] aa;
char[] b;
...
aa[b] = 42;

The implementation should be clever enough to work, and only duplicate the string if it wasn't already present.


Thanks,

Andrei


Reply via email to