Commit Graph

3654 Commits

Author SHA1 Message Date
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
Stephen Chung
62f426d477 Fix test. 2022-09-03 22:32:55 +08:00
Stephen Chung
702bb9030a Make fast operators the default. 2022-09-03 22:07:36 +08:00
Stephen Chung
defdc2a5bc Revise style. 2022-09-03 16:21:45 +08:00
Stephen Chung
1ae0a4c761 Add fast operators to benchmarks. 2022-09-03 15:48:00 +08:00
Stephen Chung
b3f6fa9ce8 Remove branch from benchmark. 2022-09-03 15:33:34 +08:00
Stephen Chung
2de4325d7e Use fast operators mode in rhai-run. 2022-09-03 15:31:29 +08:00
Stephen Chung
06dea067b7 Change fast_ops to options. 2022-09-03 15:15:42 +08:00
Stephen Chung
43c4d7e3ca Use standard operator to short-circuit. 2022-09-03 12:35:00 +08:00
Stephen Chung
75512bfd2f Remove log print. 2022-09-03 12:26:55 +08:00
Stephen Chung
79eb626386 Speed up built-in. 2022-09-03 11:46:20 +08:00
Stephen Chung
d7dfa1a218 Fix tests. 2022-09-03 11:29:29 +08:00