Skip to content

Conversation

@bitfaster
Copy link
Owner

This is about 20x faster than using Math.Numerics, since the harmonic is computed once and the loop that generates the values is now parallelized.

Only the random generation is serial - this means that the output is identical Math.Numerics since the same 'random' numbers are generated.

@bitfaster bitfaster merged commit 45b96d9 into main Sep 29, 2022
@bitfaster bitfaster deleted the users/alexpeck/fastzipf branch September 29, 2022 02:04
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.

2 participants