Stephen Chung
|
d0a47d7f66
|
Refactor to do more pre-calculation work.
|
2023-02-12 21:50:32 +08:00 |
|
Stephen Chung
|
9f18d6519d
|
Use debug_assert!.
|
2023-02-12 00:13:54 +08:00 |
|
Stephen Chung
|
8685323b15
|
Use SmartString for comments.
|
2023-02-11 23:55:07 +08:00 |
|
Stephen Chung
|
dbac4d5689
|
Use StraightHashMap.
|
2023-02-11 23:51:36 +08:00 |
|
Stephen Chung
|
557b368fdb
|
Fix op-assignment hashes.
|
2023-02-11 15:06:17 +08:00 |
|
Stephen Chung
|
9cb5154979
|
Refactor FnCallHashes.
|
2023-02-11 12:52:07 +08:00 |
|
Stephen Chung
|
e177a5648a
|
Remove hashing hack.
|
2023-02-11 11:56:20 +08:00 |
|
Stephen Chung
|
75718a5a8b
|
Satisfy clippy.
|
2023-02-11 00:17:26 +08:00 |
|
Stephen Chung
|
ee8e745429
|
Change fold to for.
|
2022-12-29 17:51:27 +08:00 |
|
Stephen Chung
|
00c434eb71
|
Use Option<Token> instead of Token::NONE.
|
2022-12-27 22:51:38 +08:00 |
|
Stephen Chung
|
cb09393dba
|
Encapsulate into FlowControl type.
|
2022-12-23 14:26:06 +08:00 |
|
Stephen Chung
|
80ccd75514
|
Satisfy clippy.
|
2022-12-22 17:34:58 +08:00 |
|
Stephen Chung
|
da7a887f67
|
Change to struct variants for better flexibility.
|
2022-12-14 12:07:33 +08:00 |
|
Stephen Chung
|
67a7ab4069
|
Move encapsulated environment out of ScriptFnDef.
|
2022-12-12 16:06:24 +08:00 |
|
Stephen Chung
|
55922b5c20
|
Hard code constant checking.
|
2022-12-03 16:20:13 +08:00 |
|
Stephen Chung
|
0c4935febb
|
Merge multiple doc-comment lines into one.
|
2022-12-01 14:35:45 +08:00 |
|
Stephen Chung
|
0c85f0c796
|
Code cleanup and refactor.
|
2022-11-28 23:24:22 +08:00 |
|
Stephen Chung
|
4ab306607d
|
Fix bug.
|
2022-11-27 17:21:07 +08:00 |
|
Stephen Chung
|
d645d8271c
|
More code refactor.
|
2022-11-25 20:42:16 +08:00 |
|
Stephen Chung
|
c9d8714fe6
|
Reduce size of ParseState.
|
2022-11-24 17:08:43 +08:00 |
|
Stephen Chung
|
3e7408511e
|
Satisfy more clippy.
|
2022-11-23 16:14:11 +08:00 |
|
Stephen Chung
|
31292e683d
|
Satisfy Clippy.
|
2022-11-23 13:24:14 +08:00 |
|
Stephen Chung
|
d911327242
|
Use SmartString for buffers and literal_syntax can panic.
|
2022-11-22 23:30:43 +08:00 |
|
Stephen Chung
|
62d707ff84
|
Simplify chaining code.
|
2022-11-19 18:41:51 +08:00 |
|
Stephen Chung
|
fca71b5ed2
|
Reduce call to Module::is_empty.
|
2022-11-10 23:57:46 +08:00 |
|
Stephen Chung
|
3a028f2642
|
Move lib into global.
|
2022-11-10 11:49:10 +08:00 |
|
Stephen Chung
|
ad018aaae3
|
Move FloatWrapper into types.
|
2022-11-08 23:17:31 +08:00 |
|
Stephen Chung
|
5bae4d8a19
|
Fix builds.
|
2022-11-08 16:37:35 +08:00 |
|
Stephen Chung
|
6053aa1641
|
Clean up types.
|
2022-11-08 15:01:40 +08:00 |
|
Stephen Chung
|
79ba80eeb3
|
Fix full optimization.
|
2022-10-30 23:33:44 +08:00 |
|
Stephen Chung
|
32493524ed
|
Code cleanup.
|
2022-10-30 22:16:09 +08:00 |
|
Stephen Chung
|
22ee12531c
|
Code cleanup.
|
2022-10-30 18:43:18 +08:00 |
|
Stephen Chung
|
c9184db4d2
|
Refine native/script code splits.
|
2022-10-30 15:45:25 +08:00 |
|
Stephen Chung
|
d97f3f7ec4
|
Merge variables in Stmt::Share.
|
2022-10-29 15:17:12 +08:00 |
|
Stephen Chung
|
91415b9750
|
Use ImmutableString in more places.
|
2022-10-29 14:59:20 +08:00 |
|
Stephen Chung
|
8e35f98477
|
Fix build.
|
2022-10-29 14:27:30 +08:00 |
|
Stephen Chung
|
4100e6da64
|
Use ImmutableString for source.
|
2022-10-29 14:12:18 +08:00 |
|
Stephen Chung
|
c14fbdb14d
|
Add loop expressions.
|
2022-10-29 12:09:18 +08:00 |
|
Stephen Chung
|
6af66d3ed3
|
Code cleanup.
|
2022-10-29 10:40:07 +08:00 |
|
Stephen Chung
|
3c2e031883
|
Use variable interpolation for println!.
|
2022-10-27 13:38:21 +08:00 |
|
Stephen Chung
|
6702fe349c
|
Add index to Share statement.
|
2022-10-25 10:05:31 +08:00 |
|
Stephen Chung
|
c24794187f
|
Reduce unnecessary generics.
|
2022-10-20 15:31:57 +08:00 |
|
Stephen Chung
|
530109275f
|
Minor code restructure.
|
2022-10-16 11:35:21 +08:00 |
|
Stephen Chung
|
ac05f0a0a8
|
Check if function calls cannot be scripted.
|
2022-10-14 18:31:40 +08:00 |
|
Stephen Chung
|
71e475be13
|
Fix no_module build.
|
2022-10-14 15:23:58 +08:00 |
|
Stephen Chung
|
38e47c909d
|
Streamline code.
|
2022-10-14 14:04:54 +08:00 |
|
Stephen Chung
|
6c777e68d3
|
Refine inlining.
|
2022-09-28 12:06:22 +08:00 |
|
Stephen Chung
|
fde8483f54
|
Optimize functions calling.
|
2022-09-27 23:04:22 +08:00 |
|
Stephen Chung
|
25476d1cea
|
Mark debug functions cold.
|
2022-09-27 08:52:39 +08:00 |
|
Stephen Chung
|
bf02d040e2
|
Use tokens to speed up function name lookup.
|
2022-09-25 23:03:18 +08:00 |
|