Provides fast murmur hashes for strings, files, and ziped files.
Project description
Murmur Hash Library
========
Murmur Hash Library is a simple c level implementation developed for
high speed hashing of in memory strings, on disk files, and the contents
of zip files.
As the name implies the hashes are generated via an implementation of
`MurmurHash 2.0`_.
A few quick NOTES and WARNINGS:
The implementation of MurMur that is used in this code makes the
following assumptions about your machine:
1. A 4-byte value can be read from any address without crashing
2. sizeof(int) == 4
It will also not produce the same results on little-endian and big-endian
machines.
I believe it would be easily possible to get around these limitations.
.. _MurmurHash 2.0: http://murmurhash.googlepages.com/
========
Murmur Hash Library is a simple c level implementation developed for
high speed hashing of in memory strings, on disk files, and the contents
of zip files.
As the name implies the hashes are generated via an implementation of
`MurmurHash 2.0`_.
A few quick NOTES and WARNINGS:
The implementation of MurMur that is used in this code makes the
following assumptions about your machine:
1. A 4-byte value can be read from any address without crashing
2. sizeof(int) == 4
It will also not produce the same results on little-endian and big-endian
machines.
I believe it would be easily possible to get around these limitations.
.. _MurmurHash 2.0: http://murmurhash.googlepages.com/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Murmur-0.1.2.tar.gz
(24.6 kB
view hashes)