Skip to content

Curious if the formatted strings in errors of eval() are expensive #8

Description

@mlb2251

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions