Improve chaining speed.

This commit is contained in:
Stephen Chung
2022-06-08 09:19:21 +08:00
parent 8615960cd6
commit f4ebaa7abf
3 changed files with 70 additions and 168 deletions

View File

@@ -22,6 +22,7 @@ Deprecated API's
Enhancements
------------
* Indexing and property access are now faster.
* `EvalAltResult::IndexNotFound` is added to aid in raising errors for indexers.
* `Engine::def_tag`, `Engine::def_tag_mut` and `Engine::set_tag` are added to manage a default value for the custom evaluation state, accessible via `EvalState::tag()` (which is the same as `NativeCallContext::tag()`).
* Originally, the debugger's custom state uses the same state as `EvalState::tag()` (which is the same as `NativeCallContext::tag()`). It is now split into its own variable accessible under `Debugger::state()`.