Flexible and efficient recursive hashing

Szymon Gatner via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 17 01:18:08 PDT 2014


On Tuesday, 16 September 2014 at 14:53:52 UTC, bearophile wrote:
> Among the CppCon 2014 slide packs there is this nice one:
>
> "Types Don't Know #", by Howard Hinnant:
>
> https://github.com/CppCon/CppCon2014/tree/master/Presentations/Types%20Don%27t%20Know%20%23%20-%20Howard%20Hinnant%20-%20CppCon%202014
>
> It shows a nice idea to perform transitive hashing in a 
> flexible and efficient way. Perhaps the idea can be used in D 
> too. It suggests the introduction of a hashAppend standard 
> method.
>
> Bye,
> bearophile

Funny thing is that as soon as you have to combine hashes in C++ 
atm you realize that current way is broken and the way HH 
proposes is kindof obvious correct design.


More information about the Digitalmars-d mailing list