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
opt/optgen: compile string and integer literals as Go values
Previously, optgen would sometimes compile string and integer literals,
e.g., `"foo"` and `1`, as Go strings and integers, and other times as
`*tree.DString`s and `*tree.DInt`s, depending on the context. Now, these
literals are always compiled as Go values. In addition to helping
prevent confusion, this can help avoid unnecessary allocations for
datums when they are not needed, e.g., see `NormalizeLikeAny`.
Release note: None
0 commit comments