-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
65 lines (51 loc) · 2.22 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
2024-06-11 Eric Herman <eric@freesa.org>
API change: int32_t values changed to uint32_t.
Allow the LCG multiplier to be set at runtime.
It makes little sense to change the multiplier after the first call,
thus no effort is made for thread safety.
If thread-safety is needed, the caller can create mutex-guards
in wrapper functions.
* src/jumphash.h: int32->uint32; expose extern jumphash_lcg_multiplier
* src/jumphash.c: int32->uint32; convert #define to uint64_t variable
* tests/test_jumphash_rebucket.c: int32->uint32; setting LCG multiplier
* tests/test_jumphash_equivalence.c: int32->uint32
* Makefile.am: add test for alternative LCG multiplier
* README: int32->uint32
* configure.ac: bump version from 1.0.0-dev to 2.0.0-dev
* misc/pre-tidy.patch: update
2018-08-11 Eric Herman <eric@freesa.org>
add equivalence test to compare with "gold standard" from Guava
From:
https://github.com/google/guava/blob/master/guava-tests/test/com/google/common/hash/HashingTest.java#L230
And similar to:
https://github.com/dgryski/go-jump/blob/master/jump_test.go#L30
Thanks to Damian Gryski (@dgryski) for the suggestion.
* tests/test_jumphash_equivalence.c: test "gold standard" values
* Makefile.am: add test, remove valgrind target
2018-05-17 Eric Herman <eric@freesa.org>
allow test_jumphash_rebucket to test resharding to fewer buckets
rename 'test_jumphash' -> 'test_jumphash_rebucket'
set license to LGPLv2.1 or later
* tests/test_jumphash_rebucket.c: (renamed), allow reshard shrinking
* tests/test_jumphash.c: renamed to test_jumphash_rebucket.c
* COPYING: LGPLv2.1
* src/jumphash.c: LGPLv2.1+
* src/jumphash.h: LGPLv2.1+
* README: LGPLv2.1+
* COPYING.GPL3: removed
2018-05-16 Eric Herman <eric@freesa.org>
play with jump hash "A Fast, Minimal Memory, Consistent Hash Algorithm"
by John Lamping, Eric Veach of Google described at:
https://arxiv.org/pdf/1406.2294v1.pdf
* src/jumphash.h: prototype
* src/jumphash.c: impl
* tests/test_jumphash.c: some basic checks
* configure.ac: autotools
* Makefile.am: autotools
* misc/pre-tidy.patch: for tidy
* README: basic usage, credit
* COPYING: lgpl-3.0.txt
* COPYING.GPL3: gpl-3.0.txt
* NEWS: empty
* .gitignore: test_jump_hash
* ChangeLog: Freshly created ChangeLog.