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

Use immutable function type variables #3

Merged

Commits on Mar 30, 2024

  1. Use immutable function type variables

    Convert _setTstorish, _getTstorish, and _clearTstorish to immutable function type variables that are assigned during construction based on a chain's support for the tstore/tload opcodes.
    
    This allows for bypassing the initial tstore support check saving ~30 gas per internal function call to get, set or clear a tstorish value.
    LB-thomasp committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    a39a9fb View commit details
    Browse the repository at this point in the history