1
0
mirror of synced 2026-04-27 12:40:28 +00:00

Added cellaigs API

This commit is contained in:
Clifford Wolf
2015-06-09 09:54:22 +02:00
parent b57cb4a7fe
commit e49e2662aa
4 changed files with 173 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ inline unsigned int mkhash(unsigned int a, unsigned int b) {
const unsigned int mkhash_init = 5381;
// The ADD version of DJB2
// (usunsigned int mkhashe this version for cache locality in b)
// (use this version for cache locality in b)
inline unsigned int mkhash_add(unsigned int a, unsigned int b) {
return ((a << 5) + a) + b;
}