I wonder how much of a constant-factor optimization could be won by eliminating the pointer-chasing: move Expr
's variants to Ops
, iterate over a vector of Ops
and values (Path
s, i64
s, bool
s), pop an op
, pop as many arguments as it needs ... this is partly opposite to advice I gave before, but maybe it would speed up your program.
1 Like