Commit Graph

8 Commits

Author SHA1 Message Date
Lars Buitinck 67a72ebe8a BUG promote type-safety in murmurhash
* be explicit about size of integers
* functions renamed to reflect this
* also, raise TypeError instead of ValueError

TODO Check if the C code obeys the C strict aliasing rule; if it doesn't,
it might break with very strong optimizers.
2012-01-18 12:19:01 +01:00
Olivier Grisel 5c8d4e4b96 OPTIM: avoid unlikely np.int32 test upfront 2012-01-18 06:38:38 +01:00
Olivier Grisel c6f17c08ee Shorter cpdef function names + missing docstrings 2012-01-18 06:16:07 +01:00
Olivier Grisel f9d1efe64f ENH: add the ability to hash int arrays 2012-01-17 10:39:13 +01:00
Olivier Grisel c80083c90d Export some public cython API 2012-01-17 02:34:00 +01:00
Olivier Grisel 152d225789 implementation & test for the murmurhash wrapper module 2012-01-17 02:30:59 +01:00
GaelVaroquaux ec20311e06 ENH: get the murmurhash to build properly 2012-01-16 08:11:50 +01:00
Olivier Grisel 6f6697896b first stab at trying to wrap MurmurHash3 2012-01-16 01:40:47 +01:00