The review of std.hash package

RivenTheMage riven-mage at id.ru
Wed Aug 15 20:56:54 PDT 2012


On Thursday, 16 August 2012 at 03:02:59 UTC, RivenTheMage wrote:

> ushort num = 1234;
> auto hash1 = hash!("(a >>> 20) ^ (a >>> 12) ^ (a >>> 7) ^ (a >>>
> 4) ^ a")(str); // indexing hash

I forgot that this case is already covered by reduce!(...)


More information about the Digitalmars-d mailing list