snapd icon indicating copy to clipboard operation
snapd copied to clipboard

interfaces: generalize constant folding for patterns

Open zyga opened this issue 1 year ago • 0 comments

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.

Thanks for helping us make a better snapd! Have you signed the license agreement and read the contribution guide?

zyga avatar Sep 20 '24 17:09 zyga