Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use exp2 instead of 2.0.pow #21

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Use exp2 instead of 2.0.pow #21

merged 1 commit into from
Sep 9, 2024

Conversation

Licenser
Copy link
Collaborator

@Licenser Licenser commented Sep 9, 2024

This pull request updates the code to use the exp2 function instead of 2.0.pow for calculating the count.

Signed-off-by: Heinz N. Gies <[email protected]>
@Licenser Licenser merged commit ccaf3f9 into main Sep 9, 2024
2 checks passed
Copy link

github-actions bot commented Sep 9, 2024

Benchmark for 059b373

Click to view benchmark
Test Base PR %
Ulysses/HBB64 2.3±0.01ms 132.5 MElem/sec N/A N/A
Ulysses/HyperBitBit 7.9±0.02ms 39.5 MElem/sec N/A N/A
Ulysses/HyperLogLog 13.8±0.09ms 22.6 MElem/sec N/A N/A
Ulysses/HyperLogLogPlus 10.9±0.22ms 28.5 MElem/sec N/A N/A
Ulysses/HyperThreeBits<1024> 3.8±0.02ms 81.0 MElem/sec N/A N/A
Ulysses/HyperThreeBits<128> 3.6±0.01ms 86.7 MElem/sec N/A N/A
Ulysses/HyperThreeBits<2048> 3.9±0.02ms 79.6 MElem/sec N/A N/A
Ulysses/HyperThreeBits<256> 3.7±0.01ms 83.2 MElem/sec N/A N/A
Ulysses/HyperThreeBits<4096> 4.1±0.01ms 75.8 MElem/sec N/A N/A
Ulysses/HyperThreeBits<512> 3.7±0.04ms 83.8 MElem/sec N/A N/A
Ulysses/HyperThreeBits<64> 3.5±0.01ms 89.4 MElem/sec N/A N/A
Ulysses/HyperTwoBits<1024> 3.3±0.06ms 95.7 MElem/sec N/A N/A
Ulysses/HyperTwoBits<128> 3.1±0.01ms 101.0 MElem/sec N/A N/A
Ulysses/HyperTwoBits<2048> 3.3±0.03ms 95.1 MElem/sec N/A N/A
Ulysses/HyperTwoBits<265> 3.2±0.01ms 97.2 MElem/sec N/A N/A
Ulysses/HyperTwoBits<4096> 3.3±0.02ms 94.2 MElem/sec N/A N/A
Ulysses/HyperTwoBits<512> 3.4±0.02ms 91.6 MElem/sec N/A N/A
Ulysses/HyperTwoBits<64> 3.0±0.01ms 103.4 MElem/sec N/A N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant