The review of std.hash package

Kagamin spam at here.lot
Wed Aug 15 00:41:19 PDT 2012


On Thursday, 9 August 2012 at 09:59:48 UTC, David Nadlinger wrote:
>> In this case, it needs to work like a reduce algorithm, 
>> because it is a reduce algorithm. Need to find a way to make 
>> this work.
>
> Hash functions are _not_ analogous to reduce(), because the 
> operation performed by reduce() is stateless, whereas hash 
> functions generally have some internal state.

An example of stateless hash in .net:
http://msdn.microsoft.com/en-us/library/xa627k19.aspx


More information about the Digitalmars-d mailing list