Stephen Chung
|
b5c81c9baa
|
Fix test.
|
2023-04-10 13:17:48 +08:00 |
|
Stephen Chung
|
465fdeec21
|
Optimize curry with constant arguments.
|
2023-04-10 13:11:33 +08:00 |
|
Stephen Chung
|
120ff91074
|
Fix bug in optimize_ast skipping Stmt::FnCall.
|
2023-04-10 13:11:24 +08:00 |
|
Stephen Chung
|
a82bb7b2ef
|
Fix build
|
2023-04-09 16:38:19 +08:00 |
|
Stephen Chung
|
8369a9bf63
|
Fix optimizer bug for closures.
|
2023-04-09 16:31:06 +08:00 |
|
Stephen Chung
|
6ee4a1efa6
|
Merge branch 'main' of https://github.com/rhaiscript/rhai
|
2023-04-09 16:30:15 +08:00 |
|
Stephen Chung
|
98f227d640
|
Fix doc test.
|
2023-04-07 16:14:26 +08:00 |
|
Stephen Chung
|
9de41e7559
|
Further simplify matches.
|
2023-04-05 23:40:27 +08:00 |
|
Stephen Chung
|
df05f43460
|
Simplify match.
|
2023-04-05 23:15:55 +08:00 |
|
Stephen Chung
|
5eaa4c5240
|
Do not cache long strings and avoid caching one-hit wonders.
|
2023-03-31 10:41:55 +08:00 |
|
Stephen Chung
|
b102982d65
|
Add flags into gperf source files.
|
2023-03-31 09:00:52 +08:00 |
|
Stephen Chung
|
637728de6a
|
Fix builds.
|
2023-03-30 17:41:21 +08:00 |
|
Stephen Chung
|
34c7dabe44
|
Add is_def_fn with 3 parameters.
|
2023-03-30 16:43:15 +08:00 |
|
Stephen Chung
|
2a98d38a7e
|
is_shared is made reserved.
|
2023-03-30 16:26:58 +08:00 |
|
Stephen Chung
|
534b7bbab3
|
Rename auto_restore! to defer!
|
2023-03-25 21:13:34 +08:00 |
|
Stephen Chung
|
ce355aa553
|
More slots for boxed arrays.
|
2023-03-25 17:24:05 +08:00 |
|
Stephen Chung
|
892ed82f2e
|
Add script example.
|
2023-03-23 17:11:42 +08:00 |
|
Stephen Chung
|
2e724b804e
|
Remove indirection.
|
2023-03-23 13:37:10 +08:00 |
|
Stephen Chung
|
3d06ddc6e2
|
Fix for loop operations.
|
2023-03-23 09:38:54 +08:00 |
|
Stephen Chung
|
3c7cd8e278
|
Use debug_assert.
|
2023-03-23 09:12:48 +08:00 |
|
Stephen Chung
|
2c94f956e5
|
Fix error message.
|
2023-03-22 21:38:55 +08:00 |
|
Stephen Chung
|
b78cb6131b
|
Merge pull request #710 from schungx/master
Add typed method definition.
|
2023-03-22 16:36:39 +08:00 |
|
Stephen Chung
|
9d4972f6d3
|
Fix builds.
|
2023-03-22 16:16:33 +08:00 |
|
Stephen Chung
|
e60d0fc0bc
|
Add typed methods definition.
|
2023-03-22 16:05:25 +08:00 |
|
Stephen Chung
|
3d4a278f2e
|
Remove ASTFlags::EMPTY.
|
2023-03-22 10:19:30 +08:00 |
|
Stephen Chung
|
7caf80e27c
|
Remove BP optimization.
|
2023-03-18 09:50:50 +08:00 |
|
Stephen Chung
|
29d6cdcc39
|
Remove branch prediction hack.
|
2023-03-18 09:27:47 +08:00 |
|
Stephen Chung
|
c22e3a4d99
|
Bump version.
|
2023-03-17 07:12:46 +08:00 |
|
Stephen Chung
|
7cda806b53
|
Move tools out of src.
|
2023-03-17 07:09:56 +08:00 |
|
Stephen Chung
|
4d844019ba
|
Merge pull request #709 from schungx/master
Release 1.13.0
|
2023-03-17 07:02:44 +08:00 |
|
Stephen Chung
|
95e7ec46ce
|
FIx builds.
|
2023-03-17 06:46:43 +08:00 |
|
Stephen Chung
|
76ab1e290d
|
Update docs.
|
2023-03-17 06:41:44 +08:00 |
|
Stephen Chung
|
091e16124c
|
Add isAnonymous to JSON metadata.
|
2023-03-17 06:28:00 +08:00 |
|
Stephen Chung
|
c62162b3c5
|
Use {} style for auto_restore.
|
2023-03-17 06:15:59 +08:00 |
|
Stephen Chung
|
07d5886100
|
Merge pull request #708 from schungx/master
Speed improvement attempts.
|
2023-03-16 19:20:15 +08:00 |
|
Stephen Chung
|
a3324ceb3d
|
Reduce lifted out variants.
|
2023-03-16 19:00:59 +08:00 |
|
Stephen Chung
|
c7d40945ee
|
Attempt to prevent building lookup tables on dispatch.
|
2023-03-16 18:03:54 +08:00 |
|
Stephen Chung
|
9ce581f745
|
Make track_progress inline.
|
2023-03-16 13:30:32 +08:00 |
|
Stephen Chung
|
55f022174b
|
Remove matching by ASCII because compiler should already optimize.
|
2023-03-16 13:05:29 +08:00 |
|
Stephen Chung
|
952c77d9bb
|
Fix feature.
|
2023-03-15 18:31:53 +08:00 |
|
Stephen Chung
|
41636eac55
|
Fine tune table-driven tokenizing.
|
2023-03-15 17:22:11 +08:00 |
|
Stephen Chung
|
2aa7b99d1e
|
Revise table-driven parsing.
|
2023-03-15 08:54:34 +08:00 |
|
Stephen Chung
|
72508a07f5
|
Update test output.
|
2023-03-15 08:27:02 +08:00 |
|
Stephen Chung
|
f46cbdde49
|
Speed up parsing.
|
2023-03-15 08:01:44 +08:00 |
|
Stephen Chung
|
906ab3a295
|
Add short-circuits to op-assignments.
|
2023-03-09 22:03:27 +08:00 |
|
Stephen Chung
|
bb404a415d
|
Remove warnings.
|
2023-03-08 22:48:36 +08:00 |
|
Stephen Chung
|
e8dfabf967
|
Add floating-point.
|
2023-03-08 22:48:31 +08:00 |
|
Stephen Chung
|
80917bfad2
|
Fix build.
|
2023-03-08 22:03:03 +08:00 |
|
Stephen Chung
|
8fe5bac3e9
|
Short-circuit primary data operations.
|
2023-03-08 21:50:57 +08:00 |
|
Stephen Chung
|
58fad030ee
|
Do not default compares of different types.
|
2023-03-08 21:47:57 +08:00 |
|