Speed up parsing.
This commit is contained in:
parent
906ab3a295
commit
f46cbdde49
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ Rhai.toml
|
||||
**/*.bat
|
||||
doc/rhai-sync.json
|
||||
doc/rhai.json
|
||||
tools/
|
||||
.idea/
|
||||
.idea
|
||||
.idea/*
|
||||
|
@ -30,6 +30,7 @@ Enhancements
|
||||
* The functions `min` and `max` are added for numbers.
|
||||
* Range cases in `switch` statements now also match floating-point and decimal values. In order to support this, however, small numeric ranges cases are no longer unrolled.
|
||||
* Loading a module via `import` now gives the module access to the current scope, including variables and constants defined inside.
|
||||
* Some very simple operator calls (e.g. integer add) are short-circuited to avoid the overhead of a function call, resulting in a small speed improvement.
|
||||
|
||||
|
||||
Version 1.12.0
|
||||
|
827
src/tokenizer.rs
827
src/tokenizer.rs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user