Stephen Chung
|
80ccd75514
|
Satisfy clippy.
|
2022-12-22 17:34:58 +08:00 |
|
Stephen Chung
|
9bf3a9d78f
|
Add Engine::compact_script.
|
2022-12-21 13:54:54 +08:00 |
|
Stephen Chung
|
da7a887f67
|
Change to struct variants for better flexibility.
|
2022-12-14 12:07:33 +08:00 |
|
Stephen Chung
|
82a455b4d7
|
Add Dynamic::deep_scan.
|
2022-12-13 13:35:23 +08:00 |
|
Stephen Chung
|
db7410776a
|
Recursively store encapsulated environment into values.
|
2022-12-13 13:06:28 +08:00 |
|
Stephen Chung
|
d350a948e7
|
Allow exporting function pointers from modules.
|
2022-12-12 18:31:02 +08:00 |
|
Stephen Chung
|
ec5ad320a1
|
Fix tests.
|
2022-12-12 16:17:51 +08:00 |
|
Stephen Chung
|
67a7ab4069
|
Move encapsulated environment out of ScriptFnDef.
|
2022-12-12 16:06:24 +08:00 |
|
Stephen Chung
|
91f149270a
|
Add link to scripted function definition.
|
2022-12-11 00:08:25 +08:00 |
|
Stephen Chung
|
e400b3627c
|
Fix build.
|
2022-12-06 23:45:12 +08:00 |
|
Stephen Chung
|
de0707f64f
|
Use macro auto_restore!.
|
2022-12-04 14:06:54 +08:00 |
|
Stephen Chung
|
55922b5c20
|
Hard code constant checking.
|
2022-12-03 16:20:13 +08:00 |
|
Stephen Chung
|
ffc8a7f85c
|
Fix builds.
|
2022-12-03 12:08:35 +08:00 |
|
Stephen Chung
|
4e33bcfa0a
|
Use constant booleans for trait.
|
2022-12-03 11:23:34 +08:00 |
|
Stephen Chung
|
e53be6e8ed
|
Avoid allocations in metadata.
|
2022-12-02 16:44:45 +08:00 |
|
Stephen Chung
|
ed423740c9
|
Use FnArgsVec for params.
|
2022-12-01 17:45:33 +08:00 |
|
Stephen Chung
|
0c4935febb
|
Merge multiple doc-comment lines into one.
|
2022-12-01 14:35:45 +08:00 |
|
Stephen Chung
|
29a397b216
|
Refine #[must_use]
|
2022-11-28 16:36:40 +08:00 |
|
Stephen Chung
|
e8e1706d98
|
Use as_deref().
|
2022-11-25 23:03:20 +08:00 |
|
Stephen Chung
|
d645d8271c
|
More code refactor.
|
2022-11-25 20:42:16 +08:00 |
|
Stephen Chung
|
6db9870fb1
|
Fix builds.
|
2022-11-25 12:27:05 +08:00 |
|
Stephen Chung
|
ef920e2b8d
|
Factor out metadata in FuncInfo.
|
2022-11-25 12:14:37 +08:00 |
|
Stephen Chung
|
6600862c22
|
Satisfy clippy.
|
2022-11-25 09:46:13 +08:00 |
|
Stephen Chung
|
cefe3f1715
|
Reduce Module size.
|
2022-11-24 22:25:19 +08:00 |
|
Stephen Chung
|
02ef119603
|
Fix builds.
|
2022-11-23 17:23:54 +08:00 |
|
Stephen Chung
|
4e27039521
|
Use bitflags.
|
2022-11-23 11:36:30 +08:00 |
|
Stephen Chung
|
0984f2d4df
|
Fix docs.
|
2022-11-11 16:46:28 +08:00 |
|
Stephen Chung
|
fca71b5ed2
|
Reduce call to Module::is_empty.
|
2022-11-10 23:57:46 +08:00 |
|
Stephen Chung
|
013ee223ee
|
Cleanup.
|
2022-11-10 14:25:48 +08:00 |
|
Stephen Chung
|
3a028f2642
|
Move lib into global.
|
2022-11-10 11:49:10 +08:00 |
|
Stephen Chung
|
e93923b3b6
|
Move level into GlobalRuntimeState.
|
2022-11-08 21:28:20 +08:00 |
|
Stephen Chung
|
6053aa1641
|
Clean up types.
|
2022-11-08 15:01:40 +08:00 |
|
Stephen Chung
|
54aa89515e
|
Fix no_module build.
|
2022-11-04 22:00:21 +08:00 |
|
Stephen Chung
|
470af6af71
|
Using hashing for full hash instead of xor.
|
2022-11-04 21:59:49 +08:00 |
|
Stephen Chung
|
35b02ce9b7
|
Make parameters order uniform.
|
2022-11-04 21:47:09 +08:00 |
|
Stephen Chung
|
91415b9750
|
Use ImmutableString in more places.
|
2022-10-29 14:59:20 +08:00 |
|
Stephen Chung
|
4100e6da64
|
Use ImmutableString for source.
|
2022-10-29 14:12:18 +08:00 |
|
Stephen Chung
|
38e47c909d
|
Streamline code.
|
2022-10-14 14:04:54 +08:00 |
|
Stephen Chung
|
d6b0f99781
|
Refactor.
|
2022-10-10 16:46:35 +08:00 |
|
Stephen Chung
|
891214470b
|
Make limit getters available without unchecked.
|
2022-10-04 15:33:51 +08:00 |
|
Stephen Chung
|
6c777e68d3
|
Refine inlining.
|
2022-09-28 12:06:22 +08:00 |
|
Stephen Chung
|
25476d1cea
|
Mark debug functions cold.
|
2022-09-27 08:52:39 +08:00 |
|
Stephen Chung
|
b56a9c22f3
|
Refactor.
|
2022-09-25 12:24:03 +08:00 |
|
Stephen Chung
|
6eef11123a
|
Do not search for global functions if scripted.
|
2022-09-21 18:30:12 +08:00 |
|
Stephen Chung
|
5d275b5307
|
Simplify to calc_fn_hash.
|
2022-09-21 11:46:23 +08:00 |
|
Stephen Chung
|
c727b529f5
|
Minor refactors.
|
2022-09-15 08:55:07 +08:00 |
|
Stephen Chung
|
72244b74cd
|
Remove redirection in functions hash map.
|
2022-09-14 15:11:37 +08:00 |
|
Stephen Chung
|
257991ca31
|
Fix no_function.
|
2022-09-13 21:12:44 +08:00 |
|
Stephen Chung
|
4be8062924
|
Optimize Module.
|
2022-09-13 18:23:34 +08:00 |
|
Stephen Chung
|
40a12b2b7d
|
Remove key type from StraightHashMap.
|
2022-09-12 23:08:38 +08:00 |
|