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

interfaces: generalize constant folding for patterns #14526

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 20, 2024

  1. interfaces: generalize constant folding for patterns

    The existing constant folding mechanism for sequences-of-literals is now generalized
    to inject the literal into the following item, possibly reducing the complexity
    of the tree at the cost of making the tree contain longer strings.
    
    The tests are not fully adjusted, as the render test measures precise indices that
    were too tedious to fix on Friday.
    
    Signed-off-by: Zygmunt Krynicki <[email protected]>
    zyga committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    643de8d View commit details
    Browse the repository at this point in the history