Skip to content

faster d1() calc #26

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

faster d1() calc #26

wants to merge 2 commits into from

Conversation

bclrk
Copy link

@bclrk bclrk commented Feb 22, 2024

On my computer, it's consistently 0.25 µs faster.

3.84 µs ± 50.3 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each)

instead of

4.11 µs ± 15.5 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each)

And if you don't trust my math here's wolfram

On my computer, it's consistently 0.25 µs faster.

`3.84 µs ± 50.3 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each)`

instead of 

`4.11 µs ± 15.5 ns per loop (mean ± std. dev. of 7 runs, 100,000 loops each)`
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