blender/tests
Bastien Montagne 64c0c13e6e Add Murmur2A hashing feature to BLI
Murmur2a is a very fast hashing function generation int32 hashes.
It also features a very good distribution of generated hashes.

However, it is not endianness-agnostic, meaning it will usually generate
different hashes for a same key on big- and little-endian architectures.
Consequently, **it shall not be used to generate persistent hashes**
(never store them in .blend file e.g.).

This implementation supports incremental hashing, and is a direct
adaptation of reference implementation (in c++):
https://smhasher.googlecode.com/svn-history/r130/trunk/MurmurHash2.cpp

That cpp code was also used to generate reference values in gtests file.

Reviewers: sergey, campbellbarton

Reviewed By: campbellbarton

Projects: #bf_blender

Differential Revision: https://developer.blender.org/D892
2014-11-14 11:00:26 +01:00
..
gtests Add Murmur2A hashing feature to BLI 2014-11-14 11:00:26 +01:00
python Cleanup: use static sets where possible 2014-09-18 17:45:31 +10:00
check_deprecated.py Move tests into tests/ top-level dir 2014-06-18 22:03:46 +10:00
CMakeLists.txt GTest unit testing framework 2014-06-19 02:09:16 +10:00