Dynamic associative array, to hold many values per key

bearophile bearophileHUGS at lycos.com
Sun Oct 20 09:08:49 PDT 2013


Logesh Pillay:

> Thanks.  Coming to D from python, I have to say D's tuples look 
> difficult.  I'm going to see how far I can get with structs 
> writing my sudoku solver.

I think defining the full correct hashing protocol manually for 
structs is harder than using tuples.

There were many discussions to improve and simplify D tuples, but 
nothing has come out of them yet.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list