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
Here's a small idea for Hera optimization: skip matching the empty string literal "". We use this ~70 times in the Civet grammar, mostly for declarative rules, which I imagine get hit a lot (you probably know better).
Given that it always matches, we shouldn't need to build/call $L at all. I think this optimization could be in compileOp but I haven't understood this code yet to know how to try it.
The text was updated successfully, but these errors were encountered:
Here's a small idea for Hera optimization: skip matching the empty string literal
""
. We use this ~70 times in the Civet grammar, mostly for declarative rules, which I imagine get hit a lot (you probably know better).Given that it always matches, we shouldn't need to build/call
$L
at all. I think this optimization could be incompileOp
but I haven't understood this code yet to know how to try it.The text was updated successfully, but these errors were encountered: