So, given the performance numbers for Bayes when Digest::SHA1 is not
present and we use our own perl implementation, I think we have four
good options for 3.0:
- ship with a copy of Digest::SHA1 or equivalent XS implementation
of SHA1 digest
- ship with a copy of something else which is just as fast such as
FNV-1 or MD5 (if it makes sense)
- don't do Bayes without Digest::SHA1
- don't do SHA1 in Bayes without Digest::SHA1
I think the current option of horribly slow Bayes without Digest::SHA1
is unacceptable.
There's the related issue of the extra function call overhead, it would
be nice to get rid of that.
Daniel
--
Daniel Quinlan
http://www.pathname.com/~quinlan/
present and we use our own perl implementation, I think we have four
good options for 3.0:
- ship with a copy of Digest::SHA1 or equivalent XS implementation
of SHA1 digest
- ship with a copy of something else which is just as fast such as
FNV-1 or MD5 (if it makes sense)
- don't do Bayes without Digest::SHA1
- don't do SHA1 in Bayes without Digest::SHA1
I think the current option of horribly slow Bayes without Digest::SHA1
is unacceptable.
There's the related issue of the extra function call overhead, it would
be nice to get rid of that.
Daniel
--
Daniel Quinlan
http://www.pathname.com/~quinlan/