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

precompute offsets ahead-of-time rather than on each dereference #141

Merged
merged 2 commits into from
Sep 23, 2022

Commits on Sep 22, 2022

  1. precompute offsets ahead-of-time rather than on each dereference

    Criterion results on a test related to nearcore-private-1#2:
    compile                 time:   [9.7873 ms 9.8477 ms 9.9119 ms]
                            change: [-5.2388% -4.2981% -3.2369%] (p = 0.00 < 0.05)
                            Performance has improved.
    
    Manual testing on the exact test of nearcore-private-1#2 confirms the ~5% speedup:
    
    Non-rayon goes down to 24.5-25ms from 25.5-26ms
    Rayon goes down to 12ms from 12.5ms
    Ekleog-NEAR committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    ba4b977 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Configuration menu
    Copy the full SHA
    5967aa1 View commit details
    Browse the repository at this point in the history