diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f4bb28..01b54a0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,10 @@ New features * `if`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that both statement blocks each contain at most a single expression. * `switch`-expressions are allowed in `Engine::eval_expression` and `Engine::compile_expression` provided that match actions are expressions only. +### `fast_ops` feature + +* A new feature `fast_ops` is introduced that short-circuits all built-in operators of built-in types for higher speed. New user overloads are ignored. + Enhancements ------------ diff --git a/src/eval/expr.rs b/src/eval/expr.rs index 251032cd..4748e0c5 100644 --- a/src/eval/expr.rs +++ b/src/eval/expr.rs @@ -278,13 +278,12 @@ impl Engine { c.get(&hash).unwrap().as_ref().unwrap() } None => { - println!("Exec {name} with {:?}", arg_values); return self .exec_fn_call( None, global, caches, lib, name, *hashes, arg_values, false, false, pos, level, ) - .map(|(v, ..)| v); + .map(|(v, ..)| v) } } };