Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information