Struct hash issues with string fields

Era Scarecrow rtcvb32 at yahoo.com
Sat May 26 15:08:37 PDT 2012


On Saturday, 26 May 2012 at 22:02:10 UTC, Jonathan M Davis wrote:
> Now, that aside, the results with hash2 definitely look like a 
> bug to me. It's probably just the result of one more of the 
> many issues with the current AA implementation.

  This is what I'm guessing too. I've made toHashes in my own 
version testing this, but the AA problem remains. Problem goes 
away when not idup-ing, but likely that is the compiler saving 
space and assigning the same pointer address (which makes sense).


More information about the Digitalmars-d-learn mailing list