Commit Graph

3454 Commits

Author SHA1 Message Date
Stephen Chung
c6afc092d9
Merge branch 'master' into master 2022-01-07 10:14:41 +08:00
Stephen Chung
33bfff3722 Fix build. 2022-01-06 23:29:11 +08:00
Stephen Chung
c75d51ae88 Reduce unnecessary data size checking. 2022-01-06 22:10:16 +08:00
Stephen Chung
de6cb36503 Lift function calls out of match block in eval_stmt. 2022-01-06 16:06:31 +08:00
Stephen Chung
80edb1200d Fix Array::pad limits. 2022-01-06 15:30:17 +08:00
Stephen Chung
0a63e1732b Optimize hot path in Engine::eval_expr. 2022-01-06 15:28:53 +08:00
Stephen Chung
2e050f8f88 Reduce data size checking. 2022-01-06 13:40:03 +08:00
Stephen Chung
ed89817d0c Reverse tail call optimization. 2022-01-06 12:31:46 +08:00
Stephen Chung
bc6bf6c6ba Change expect("exists") to unwrap(). 2022-01-06 11:07:52 +08:00
Stephen Chung
b1b4361d08 Fix documentation. 2022-01-06 10:19:25 +08:00
magnus
7bf517b242 Fix documentation 2022-01-06 10:18:02 +08:00
Stephen Chung
071d6900c4
Merge pull request #502 from magnusja/patch-1
Fix documentation (dymanic::cast does not return an Option)
2022-01-06 10:16:37 +08:00
magnus
580b46b576
Fix documentation 2022-01-05 16:08:02 +01:00
Stephen Chung
123e8b1b48 Improve FnPtr debug display. 2022-01-05 13:48:25 +08:00
Stephen Chung
2b613fdff3 Remove unneeded strings interner for modules. 2022-01-05 13:40:49 +08:00
Stephen Chung
97295a66da Fix test. 2022-01-05 13:24:52 +08:00
Stephen Chung
a0531129df Restructure expression dispatch. 2022-01-05 13:14:18 +08:00
Stephen Chung
f35c9c1ac4 Refactor imports. 2022-01-05 12:52:56 +08:00
Stephen Chung
328f6910b6 Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
Stephen Chung
d99953c101 Fixup AsRef<str> vs &str. 2022-01-04 15:22:48 +08:00
Stephen Chung
1d1e473ac4 Minor refactor. 2022-01-03 23:16:47 +08:00
Stephen Chung
d60f14ec27 Streamline hot code. 2022-01-03 23:11:06 +08:00
Stephen Chung
8961f36e8e Move bit-fields into new package. 2022-01-03 23:10:20 +08:00
Stephen Chung
bccdf70521 Change tuples into fields. 2022-01-02 23:26:38 +08:00
Stephen Chung
3984a29d6b Fix test output. 2022-01-02 21:54:21 +08:00
Stephen Chung
29f1328087 Simplify Dynamic::from for better inlining. 2022-01-02 20:47:03 +08:00
Stephen Chung
809feaf58d Add doc comments. 2022-01-02 15:14:55 +08:00
Stephen Chung
d60ed5a502 Reduce size of Variant trait. 2022-01-01 19:54:46 +08:00
Stephen Chung
a6ddb64596 Fix builds. 2022-01-01 17:38:32 +08:00
Stephen Chung
135b1f54c2 Remove Option from source and use empty string as no source. 2022-01-01 17:20:00 +08:00
Stephen Chung
8329baea29 Fix doc comments. 2021-12-31 23:01:34 +08:00
Stephen Chung
7ed91eadc0 Fix blob test. 2021-12-31 19:34:43 +08:00
Stephen Chung
c4c4696964 Fix builds. 2021-12-31 18:55:48 +08:00
Stephen Chung
f3a8364936 Split blob write into write_utf8 and write_ascii. 2021-12-31 17:49:38 +08:00
Stephen Chung
ce93f56813 Rename parameters. 2021-12-31 17:49:19 +08:00
Stephen Chung
05baee042b Add doc-comment example script. 2021-12-31 16:29:54 +08:00
Stephen Chung
e3aa2c19ce Make for loops for efficient. 2021-12-31 15:59:13 +08:00
Stephen Chung
97900320e1 Fix benchmarks 2021-12-30 22:53:59 +08:00
Stephen Chung
80ccd52319 Add tests. 2021-12-30 12:23:35 +08:00
Stephen Chung
64bf2eef5c Better error messages. 2021-12-30 12:19:41 +08:00
Stephen Chung
1fd242ed2c Flatten nested block scopes. 2021-12-30 12:14:54 +08:00
Stephen Chung
be4ae6e763 Add rewind_scope to eval_stmt. 2021-12-30 08:57:23 +08:00
Stephen Chung
3488dbe74b Fix merging strings interner. 2021-12-29 14:26:54 +08:00
Stephen Chung
4bd482352e Fix eval call. 2021-12-28 23:00:31 +08:00
Stephen Chung
cbaf095c7a Merge restore_state and rewind_scope. 2021-12-28 17:50:49 +08:00
Stephen Chung
5b667a69b7 Reverse EvalStateData. 2021-12-28 12:19:20 +08:00
Stephen Chung
280010c427 Fix builds. 2021-12-28 12:00:01 +08:00
Stephen Chung
807240e249 Rename Imports to GlobalRuntimeState. 2021-12-28 11:42:52 +08:00
Stephen Chung
9deddc679c Use Box<str>. 2021-12-27 23:15:25 +08:00
Stephen Chung
a78488d935 Rename Imports to GlobalRuntimeState. 2021-12-27 23:03:30 +08:00