Commit Graph

3815 Commits

Author SHA1 Message Date
Stephen Chung
6fe0bfd259 Temp disable beta CI. 2022-09-21 18:30:22 +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
d7ae65c425 Add types to scope variable definitions. 2022-09-17 22:31:38 +08:00
Stephen Chung
a51f741546 Restore global state upon errors. 2022-09-16 18:11:28 +08:00
Stephen Chung
93f43790af Fix bloom filter on 32-bit arch. 2022-09-15 21:06:04 +08:00
Stephen Chung
3a5757d3e1
Merge pull request #642 from schungx/master
Improve speed.
2022-09-15 18:32:58 +08:00
Stephen Chung
c727b529f5 Minor refactors. 2022-09-15 08:55:07 +08:00
Stephen Chung
82317f0dbf Add API docs. 2022-09-14 21:38:02 +08:00
Stephen Chung
640471f865 Revert "Enable capacity on packages."
This reverts commit 85ca6ec4a1.
2022-09-14 15:17:36 +08:00
Stephen Chung
72244b74cd Remove redirection in functions hash map. 2022-09-14 15:11:37 +08:00
Stephen Chung
0280aa82ba Fix no-std. 2022-09-14 13:45:20 +08:00
Stephen Chung
b256b3ecc7 Use Entry API. 2022-09-14 12:11:27 +08:00
Stephen Chung
b9478e601c Use SmartString. 2022-09-14 12:11:18 +08:00
Stephen Chung
396ec7df8a Add #[cold] tags. 2022-09-13 22:54:13 +08:00
Stephen Chung
2458e05dcb Fix doc test. 2022-09-13 21:56:36 +08:00
Stephen Chung
85ca6ec4a1 Enable capacity on packages. 2022-09-13 21:47:11 +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
Stephen Chung
08f6682d09 Use is_absent_and_set. 2022-09-12 22:40:52 +08:00
Stephen Chung
44219c732c Do not cache "one-hit wonders" 2022-09-12 19:47:29 +08:00
Stephen Chung
c1ae9e0405 Add state to custom syntax. 2022-09-12 12:03:32 +08:00
Stephen Chung
a2f679bb07
Merge pull request #641 from schungx/master
Fix tests.
2022-09-10 14:24:33 +08:00
Stephen Chung
ea828262ba Remove nightly from CI. 2022-09-10 14:09:55 +08:00
Stephen Chung
32825d2ca8 Fix feature build. 2022-09-10 13:49:21 +08:00
Stephen Chung
ec45224120 Fix sync feature. 2022-09-10 13:46:14 +08:00
Stephen Chung
b1afc9eac2
Merge pull request #640 from schungx/master
Ready 1.10.0.
2022-09-10 13:39:22 +08:00
Stephen Chung
75fbb609dd Bump version. 2022-09-10 13:38:52 +08:00
Stephen Chung
3e4da98703 Add closure test. 2022-09-10 13:37:33 +08:00
Stephen Chung
1bfedf516d Use a bloom filter. 2022-09-08 17:49:37 +08:00
Stephen Chung
250604d5e6
Merge pull request #638 from schungx/master
Include types in definitions.
2022-09-08 11:48:48 +08:00
Stephen Chung
1476b14831 Fix metadata build. 2022-09-08 10:58:43 +08:00
Stephen Chung
040f28f5cd Types in constants and variables for definitions. 2022-09-08 10:53:55 +08:00
Stephen Chung
2f7d6298e0 Move format_type into api. 2022-09-08 10:52:58 +08:00
Stephen Chung
faa81ac3fc Fix no-std build. 2022-09-07 14:37:33 +08:00
Stephen Chung
b0ce3ee445 Use Entry API. 2022-09-07 13:30:31 +08:00
Stephen Chung
a6ce459b32 Merge branch 'main' of https://github.com/rhaiscript/rhai 2022-09-06 17:41:47 +08:00
Stephen Chung
8b543fb634
Merge pull request #637 from quake/quake/perf
pref: tweak code to improve performance
2022-09-06 17:41:25 +08:00
quake
a3ce137500 chore: auto deref 2022-09-06 15:32:37 +09:00
quake
8ee501e4d9 pref: remove Rc/Arc::from_box 2022-09-06 14:51:32 +09:00
quake
563f18a04b pref: use ExactSizeIterator 2022-09-06 14:16:15 +09:00
quake
ab23094d65 perf: reduce one hashmap lookup 2022-09-06 12:51:44 +09:00
Stephen Chung
2121bd4b47 Add feature to hashbrown. 2022-09-05 21:22:02 +08:00
Stephen Chung
158b4ce7bc Change TypeId to use BTreeMap. 2022-09-05 21:17:07 +08:00
Stephen Chung
0f4df9c4e7
Merge pull request #636 from quake/quake/StraightHashMap
perf: change BTreeMap to StraightHashMap
2022-09-05 21:08:32 +08:00
quake
d515eaf7cd chore: apply reviewers comment 2022-09-05 19:22:30 +09:00
quake
239438754c perf: change BTreeMap to StraightHashMap 2022-09-05 13:13:06 +09:00
Stephen Chung
aaa5254c29
Merge pull request #635 from schungx/master
Fast Operators mode.
2022-09-04 21:50:10 +08:00
Stephen Chung
c7da3c6edb Speed up unary operators. 2022-09-04 18:12:38 +08:00