Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-12-13 20:49:19 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-13 20:49:19 +0300
commit2605675cbdf0992cf55ef9493e3f92f573f0a2fa (patch)
treed21b539411e080017e0a8131d538fcf6285a7fc4 /tests/gtests/blenlib/CMakeLists.txt
parent9c81833430d7292483450c44443d2c3cd584dd43 (diff)
Initial GHash-enhancements experiments.
This commit adds: *Some Murmur-based hasing helpers for GHash; *A (very basic) switch between key-to-bucketidx using modulo or binary-AND; *Some gtests to make some comparisons. First test results seem to show that: * murmur is much much quicker for string keys, with approximately same hash quality; * org ghash is much much quicker for int keys, but with much worse hash quality than murmur-based one; * key-to-bucketidx method does not seem to make much difference so far. Nothing definitive here yet, obviously.
Diffstat (limited to 'tests/gtests/blenlib/CMakeLists.txt')
-rw-r--r--tests/gtests/blenlib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gtests/blenlib/CMakeLists.txt b/tests/gtests/blenlib/CMakeLists.txt
index 3a86d3f770d..59ecacbe7c1 100644
--- a/tests/gtests/blenlib/CMakeLists.txt
+++ b/tests/gtests/blenlib/CMakeLists.txt
@@ -43,3 +43,4 @@ BLENDER_TEST(BLI_path_util "bf_blenlib;extern_wcwidth;${ZLIB_LIBRARIES}")
BLENDER_TEST(BLI_polyfill2d "bf_blenlib")
BLENDER_TEST(BLI_listbase "bf_blenlib")
BLENDER_TEST(BLI_hash_mm2a "bf_blenlib")
+BLENDER_TEST(BLI_ghash "bf_blenlib")