hash function

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Feb 14 18:32:57 PST 2013


On Fri, Feb 15, 2013 at 03:26:28AM +0100, Adam D. Ruppe wrote:
> druntime has a hash implementation in module rt.util.hash that looks
> pretty useful, but isn't publicaly exported by the library anywhere.
> 
> Does phobos or druntime offer a public hash function like that? If
> no, can it expose this one?

+1. This is a very good and useful hash function that should be usable
by user code. No need to force the user to reinvent the wheel or
copy-n-paste code.


T

-- 
The diminished 7th chord is the most flexible and fear-instilling chord. Use it often, use it unsparingly, to subdue your listeners into submission!


More information about the Digitalmars-d mailing list