Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving kickout bucket selection to fastrandn
For faster initialization through avoiding mutex on global random. Benchmark: goos: linux goarch: amd64 pkg: github.com/panmari/cuckoofilter cpu: 12th Gen Intel(R) Core(TM) i7-1265U │ master.bench │ fastrandn.bench │ │ sec/op │ sec/op vs base │ Filter_Insert-12 36.74n ± 3% 33.76n ± 1% -8.11% (p=0.000 n=100)
- Loading branch information