http://d.puremagic.com/issues/show_bug.cgi?id=4475
--- Comment #12 from bearophile_h...@eml.cc 2013-08-15 12:52:19 PDT --- (In reply to comment #11) > the hash table itself doesn't contain the > actual key/value pairs; it just contains pointers to linked-lists of these > key/value pairs. So the hash table can be modified however you like, but the > key/value pairs stays in the same memory address. I see. But that's just an implementation detail (you could design an AA that keeps small keys-value pairs in an array, plus a pointer to a chain for the collisions, this is how I have created associative arrays in C), D specs can't assert that implementation, so D code that relies on that implementation detail goes into the realm of undefined behavour. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------