The review of std.hash package

Tobias Pankrath tobias at pankrath.net
Wed Aug 8 05:11:43 PDT 2012


On Wednesday, 8 August 2012 at 12:00:42 UTC, H. S. Teoh wrote:
> On Wed, Aug 08, 2012 at 11:37:35AM +0100, Regan Heath wrote:
>> On Tue, 07 Aug 2012 19:41:12 +0100, Jonathan M Davis
>> <jmdavisProg at gmx.com> wrote:
>> 
>> >On Tuesday, August 07, 2012 15:31:57 Ary Manzana wrote:
>> >>I think "std.crypto" is a better name for the package. At 
>> >>first I
>> >>thought it contained an implementation of a Hash table.
>> >
>> >That doesn't fly, because crc32 is going to be in there, and 
>> >while
>> >it's a hash, it's no good for cryptography.
>> 
>> std.digest then?
> [...]
>
> +1. I think std.hash is needlessly confusing (I thought it was 
> another
> hashtable implementation until I read this thread more 
> carefully).
>
>
> T

-1
std.digest let's me think of 
http://en.wikipedia.org/wiki/Digestion
digest is just not common if you mean hash in my cycles.

I didn't think of an hash table implementation, maybe you are 
spoiled by writing one at the moment? (no offence).







More information about the Digitalmars-d mailing list