Commit Graph

  • 40a12b2b7d Remove key type from StraightHashMap. Stephen Chung 2022-09-12 23:08:38 +0800
  • 08f6682d09 Use is_absent_and_set. Stephen Chung 2022-09-12 22:40:52 +0800
  • 44219c732c Do not cache "one-hit wonders" Stephen Chung 2022-09-12 19:47:29 +0800
  • c1ae9e0405 Add state to custom syntax. Stephen Chung 2022-09-12 12:03:32 +0800
  • a2f679bb07
    Merge pull request #641 from schungx/master Stephen Chung 2022-09-10 14:24:33 +0800
  • ea828262ba Remove nightly from CI. Stephen Chung 2022-09-10 14:09:55 +0800
  • 32825d2ca8 Fix feature build. Stephen Chung 2022-09-10 13:49:21 +0800
  • ec45224120 Fix sync feature. Stephen Chung 2022-09-10 13:46:14 +0800
  • b1afc9eac2
    Merge pull request #640 from schungx/master Stephen Chung 2022-09-10 13:39:22 +0800
  • 75fbb609dd Bump version. Stephen Chung 2022-09-10 13:38:52 +0800
  • 3e4da98703 Add closure test. Stephen Chung 2022-09-10 13:37:33 +0800
  • 1bfedf516d Use a bloom filter. Stephen Chung 2022-09-08 17:49:37 +0800
  • 250604d5e6
    Merge pull request #638 from schungx/master Stephen Chung 2022-09-08 11:48:48 +0800
  • 1476b14831 Fix metadata build. Stephen Chung 2022-09-08 10:58:43 +0800
  • 040f28f5cd Types in constants and variables for definitions. Stephen Chung 2022-09-08 10:53:55 +0800
  • 2f7d6298e0 Move format_type into api. Stephen Chung 2022-09-08 10:52:58 +0800
  • faa81ac3fc Fix no-std build. Stephen Chung 2022-09-07 14:37:33 +0800
  • b0ce3ee445 Use Entry API. Stephen Chung 2022-09-07 13:30:31 +0800
  • a6ce459b32 Merge branch 'main' of https://github.com/rhaiscript/rhai Stephen Chung 2022-09-06 17:41:47 +0800
  • 8b543fb634
    Merge pull request #637 from quake/quake/perf Stephen Chung 2022-09-06 17:41:25 +0800
  • a3ce137500 chore: auto deref quake 2022-09-06 15:32:37 +0900
  • 8ee501e4d9 pref: remove Rc/Arc::from_box quake 2022-09-06 14:51:32 +0900
  • 563f18a04b pref: use ExactSizeIterator quake 2022-09-06 14:16:15 +0900
  • ab23094d65 perf: reduce one hashmap lookup quake 2022-09-06 12:51:44 +0900
  • 2121bd4b47 Add feature to hashbrown. Stephen Chung 2022-09-05 21:22:02 +0800
  • 158b4ce7bc Change TypeId to use BTreeMap. Stephen Chung 2022-09-05 21:17:07 +0800
  • 0f4df9c4e7
    Merge pull request #636 from quake/quake/StraightHashMap Stephen Chung 2022-09-05 21:08:32 +0800
  • d515eaf7cd chore: apply reviewers comment quake 2022-09-05 19:22:30 +0900
  • 239438754c perf: change BTreeMap to StraightHashMap quake 2022-09-05 13:13:06 +0900
  • aaa5254c29
    Merge pull request #635 from schungx/master Stephen Chung 2022-09-04 21:50:10 +0800
  • c7da3c6edb Speed up unary operators. Stephen Chung 2022-09-04 18:12:38 +0800
  • 62f426d477 Fix test. Stephen Chung 2022-09-03 22:32:55 +0800
  • 702bb9030a Make fast operators the default. Stephen Chung 2022-09-03 22:07:36 +0800
  • defdc2a5bc Revise style. Stephen Chung 2022-09-03 16:21:45 +0800
  • 1ae0a4c761 Add fast operators to benchmarks. Stephen Chung 2022-09-03 15:48:00 +0800
  • b3f6fa9ce8 Remove branch from benchmark. Stephen Chung 2022-09-03 15:33:34 +0800
  • 2de4325d7e Use fast operators mode in rhai-run. Stephen Chung 2022-09-03 15:31:29 +0800
  • 06dea067b7 Change fast_ops to options. Stephen Chung 2022-09-03 15:15:42 +0800
  • 43c4d7e3ca Use standard operator to short-circuit. Stephen Chung 2022-09-03 12:35:00 +0800
  • 75512bfd2f Remove log print. Stephen Chung 2022-09-03 12:26:55 +0800
  • 79eb626386 Speed up built-in. Stephen Chung 2022-09-03 11:46:20 +0800
  • d7dfa1a218 Fix tests. Stephen Chung 2022-09-03 11:29:29 +0800
  • fcdd2eb143 Use caching for fast operators. Stephen Chung 2022-09-03 11:27:13 +0800
  • 0516e8088c Add fast-ops feature. Stephen Chung 2022-09-02 23:45:25 +0800
  • 7dbc605d0b Macro test for enums. Stephen Chung 2022-08-30 13:56:25 +0800
  • 834d7b602b
    Merge pull request #634 from schungx/master Stephen Chung 2022-08-30 13:22:39 +0800
  • cfdca74beb Fix test. Stephen Chung 2022-08-30 12:31:47 +0800
  • 044484c756 Merge 1.9.1 fixes. Stephen Chung 2022-08-29 22:42:46 +0800
  • 498d6f5452 Bump version to 1.9.1. Stephen Chung 2022-08-29 22:27:07 +0800
  • 0870318e4e Fix bug in strict variables mode. Stephen Chung 2022-08-29 22:26:07 +0800
  • 3482625d81 Bump MSRV. Stephen Chung 2022-08-29 14:44:56 +0800
  • 80772df4f4 Shut up clippy. Stephen Chung 2022-08-29 14:27:05 +0800
  • 1389541e7d Set minimum Rust version to 1.61.0. Stephen Chung 2022-08-27 17:28:59 +0800
  • 6bc98bd252 Remove extra clippy lints. Stephen Chung 2022-08-27 16:29:39 +0800
  • bf5d6ab35a Shut up clippy. Stephen Chung 2022-08-27 16:26:41 +0800
  • 855503bcaf
    Merge pull request #630 from schungx/master Stephen Chung 2022-08-27 13:35:33 +0800
  • d80184ba14 Allow if-expressions and switch-expressions in Engine::eval_expression. Stephen Chung 2022-08-26 23:10:58 +0800
  • 204284f4f7 Add test to recreate NativeCallContext. Stephen Chung 2022-08-26 16:20:23 +0800
  • 296d5c054c Use simple optimization for rhai-run. Stephen Chung 2022-08-26 11:23:16 +0800
  • b36f746dbe Add Engine::module_resolver. Stephen Chung 2022-08-25 22:25:41 +0800
  • 5c80157e7a Store path in module id. Stephen Chung 2022-08-25 22:17:01 +0800
  • b8366bd8a4
    Merge pull request #627 from schungx/master Stephen Chung 2022-08-25 08:44:40 +0800
  • 1c335e24dc Fix formatting. Stephen Chung 2022-08-25 08:41:09 +0800
  • 17fb42ff9a Fix test output. Stephen Chung 2022-08-24 23:17:23 +0800
  • e7333dc6c1 Add smallvec feature. Stephen Chung 2022-08-24 23:17:12 +0800
  • ca1b7f6a39 Refine is_empty methods. Stephen Chung 2022-08-24 21:58:08 +0800
  • ae5e88928e Merge branch 'main' of https://github.com/rhaiscript/rhai Stephen Chung 2022-08-24 21:00:08 +0800
  • 84be579c3e
    Merge pull request #625 from ltabis/main Stephen Chung 2022-08-24 20:59:53 +0800
  • 69bb5534ef Share encapsulated environment. Stephen Chung 2022-08-24 20:59:11 +0800
  • 1269d4b34d feat(ranges): add is_empty function to inclusive/exclusive ranges. ltabis 2022-08-24 13:17:43 +0200
  • b40ca9e40d Improve docs. Stephen Chung 2022-08-24 18:27:58 +0800
  • 4b3608cedc feat(data-structures): add is_empty getter to map, string and blob. ltabis 2022-08-24 09:54:41 +0200
  • 9c3443538a feat(array): add an empty getter for arrays. ltabis 2022-08-23 16:36:43 +0200
  • 56b732d83b
    Merge pull request #624 from schungx/master Stephen Chung 2022-08-22 23:01:43 +0800
  • 010a96dde3 Fix feature builds. Stephen Chung 2022-08-22 22:28:27 +0800
  • a9413dc570 Remove _result registration methods. Stephen Chung 2022-08-22 22:16:26 +0800
  • 4ce8d4609d Refactor CustomType to struct CustomTypeInfo. Stephen Chung 2022-08-22 20:52:52 +0800
  • 3078a281b2
    Merge pull request #622 from schungx/master Stephen Chung 2022-08-22 16:12:35 +0800
  • db865d7538 Fix sync. Stephen Chung 2022-08-22 14:02:24 +0800
  • 799dd9d9d1 Add fallible type iterators. Stephen Chung 2022-08-22 13:10:32 +0800
  • 1deed8cd55 Fix generic parameters. Stephen Chung 2022-08-22 00:15:00 +0800
  • 80a23ddaa2 Allow registration of getters/setters/indexers with NativeCallContext. Stephen Chung 2022-08-21 22:59:49 +0800
  • 2f02b30b6e Use String::new() for empty strings. Stephen Chung 2022-08-21 17:35:44 +0800
  • 248888ce0b Fine tune error display. Stephen Chung 2022-08-21 17:35:37 +0800
  • 00f84efbf8
    Merge pull request #619 from schungx/master Stephen Chung 2022-08-21 16:26:34 +0800
  • 75275371ac Bump version. Stephen Chung 2022-08-21 16:25:04 +0800
  • e590fe92fd
    Merge pull request #618 from schungx/master Stephen Chung 2022-08-20 22:41:56 +0800
  • 1adc094383 Fix tests. Stephen Chung 2022-08-20 22:19:29 +0800
  • de3b7cbbee Add custom syntax test. Stephen Chung 2022-08-20 22:10:15 +0800
  • 689ed48235 Add missing reserved tokens. Stephen Chung 2022-08-20 21:55:00 +0800
  • 8c20801574 Add parameter to debugger init. Stephen Chung 2022-08-20 15:04:17 +0800
  • a51f6138f6 Reduce API changes. Stephen Chung 2022-08-19 13:21:47 +0800
  • f9d74fe313 Fix tests. Stephen Chung 2022-08-18 21:36:00 +0800
  • a9b6e8b98c Fix builds. Stephen Chung 2022-08-18 21:16:42 +0800
  • 83589be58e New packages API. Stephen Chung 2022-08-18 17:22:56 +0800
  • 1bba34b9b7 Reserve |> and <| symbols. Stephen Chung 2022-08-18 16:59:54 +0800
  • b35a9762fb Set AST source on compile. Stephen Chung 2022-08-14 18:22:07 +0800
  • 5f2262214d Add docs. Stephen Chung 2022-08-14 18:16:35 +0800
  • 855ddd28a6 Update is_empty docs. Stephen Chung 2022-08-14 14:39:30 +0800
  • b75ea94908 Remove Interners struct. Stephen Chung 2022-08-14 14:32:16 +0800