curious if theres any overhead from Err(format!("Expected function or closure, got {:?}", f)) that i added - try removing it next. Same w all allocations and writes i guess in the expr eval stuff where it's expected to be fallible.
After all evals run many times and are expected to fail often so their errors should be inexpensive.
curious if theres any overhead from
Err(format!("Expected function or closure, got {:?}", f))that i added - try removing it next. Same w all allocations and writes i guess in the expr eval stuff where it's expected to be fallible.After all evals run many times and are expected to fail often so their errors should be inexpensive.