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

perf: share constants between Program instances #1442

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Sep 11, 2023

  1. perf: share constants between Program instances

    This reduces `Program` cloning for building the `CairoRunner` by 86%
    according to our Criterion benchmarks.
    This is a significant cost for running many short-lived programs such
    as most Starknet transactions.
    No negative impact in runtime was observed.
    Oppen committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    cc692ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a67cc3 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

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