Avoid cloning in array methods as much as possible.

This commit is contained in:
Stephen Chung
2021-10-19 19:57:15 +08:00
parent 9d1ab2c8a1
commit 2334cd8f56
7 changed files with 296 additions and 192 deletions

View File

@@ -4,6 +4,12 @@ Rhai Release Notes
Version 1.2.0
=============
Enhancements
------------
* `NativeCallContext::call_fn_dynamic_raw` is deprecated and `NativeCallContext::call_fn_raw` is added.
* Array methods now avoid cloning as much as possible (although most predicates will involve cloning anyway if passed a closure).
Version 1.1.0
=============