[erlang-questions] Warning: erlang:phash2 output

Paulo Sérgio Almeida psa@REDACTED
Wed May 6 18:09:50 CEST 2009


Oops.

> So, what are the alternatives when not many bits in the result are 
> needed? crypto:sha or crypto:md5 are about 30 times slower ..

I was measuring the times for a simple term (an atom :)).
For more complex terms they get "only" something like between 3 and 10 
times slower (including the term_to_binary needed for them).

Regards,
psa



More information about the erlang-questions mailing list