You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid cloning constants when compiling hints (#2208)
* Avoid cloning constants when compiling hints
By changing the compile_hint parameter type to `Arc` instead of `Rc`, we
can reuse the constants that are already included in `Program`. This
avoids cloning all the constants.
With this commit, there is a 9.8% performance increase when replaying
mainnet block 10000, compared to 2.5.0.
* Update CHANGELOG.md
---------
Co-authored-by: Gabriel Bosio <38794644+gabrielbosio@users.noreply.github.com>
0 commit comments