Use u64 for operations counter.

This commit is contained in:
Stephen Chung
2020-05-19 10:08:27 +08:00
parent 1824dced69
commit 6b8c6bda42
4 changed files with 31 additions and 36 deletions

View File

@@ -2347,7 +2347,7 @@ engine.set_max_modules(0); // allow unlimited modules
### Maximum call stack depth
Rhai by default limits function calls to a maximum depth of 128 levels (8 levels in debug build).
Rhai by default limits function calls to a maximum depth of 128 levels (16 levels in debug build).
This limit may be changed via the `Engine::set_max_call_levels` method.
When setting this limit, care must be also taken to the evaluation depth of each _statement_