Skip to content

Commit ff06ad0

Browse files
committed
Implement an AVX2 alg based on Wojciech Muła & Daniel Lemire 2017
The paper this algorithm is taken from can be found via DOI 10.1145/3132709 arXiv:1704.00605 or via arXiv.org: https://arxiv.org/abs/1704.00605
1 parent d76e609 commit ff06ad0

File tree

4 files changed

+833
-1
lines changed

4 files changed

+833
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ rstest_reuse = "0.1.3"
2727
default = ["std"]
2828
alloc = []
2929
std = []
30+
unsafe = []
31+
avx2 = ["unsafe"]
3032

3133
[profile.bench]
3234
# Useful for better disassembly when using `perf record` and `perf annotate`

0 commit comments

Comments
 (0)