blender/tests/gtests
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
..
blenlib Add Murmur2A hashing feature to BLI 2014-11-14 11:00:26 +01:00
bmesh CMake: update source files 2014-06-28 23:17:11 +10:00
guardedalloc CMake: update source files 2014-06-28 23:17:11 +10:00
testing CMake: update source files 2014-06-28 23:17:11 +10:00
CMakeLists.txt Add a bmesh_core_test, a start at testing bmesh functionality. 2014-06-19 11:53:55 -04:00