The review of std.hash package

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Aug 8 10:05:11 PDT 2012


On 08-Aug-12 21:00, Dmitry Olshansky wrote:
> On 08-Aug-12 18:16, Christophe Travert wrote:

>> They should not be categorized the same. I don't expect a regular hash
>> function to pass the isDigest predicate. But they have many
>> similarities, which explains they are all called hash functions. There
>> is enough room in a package to put several related concepts!
>>
>
> You still can use say crc32 as normal hash function for some binary
> object. The notions are not as desperate as some designers would want
> them to be.

Damned spellcheckers: desperate -> disparate

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list