ljedrz
|
c8299743b8
|
perf: reduce Expression size from 244B to 152B
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-19 16:23:36 +02:00 |
|
ljedrz
|
39cd98d2c0
|
bench: extend the LeoTypedAst benchmarks
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-19 16:23:36 +02:00 |
|
dependabot-preview[bot]
|
2afa4d5188
|
Bump env_logger from 0.7.1 to 0.8.1
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.7.1...v0.8.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-19 10:27:48 +00:00 |
|
dependabot-preview[bot]
|
56f6edd2c2
|
Bump console from 0.12.0 to 0.13.0
Bumps [console](https://github.com/mitsuhiko/console) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/mitsuhiko/console/releases)
- [Changelog](https://github.com/mitsuhiko/console/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/console/compare/v0.12.0...v0.13.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-19 10:27:23 +00:00 |
|
ljedrz
|
a65ff7d820
|
perf: reduce boxing when parsing the AST
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-19 12:26:45 +02:00 |
|
ljedrz
|
4591a0eb04
|
refactor: use &Path instead of (&)PathBuf in tests
|
2020-10-16 17:23:22 +02:00 |
|
ljedrz
|
64774cdab6
|
refactor: accept &Path instead of PathBuf where sufficient
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 17:09:44 +02:00 |
|
ljedrz
|
d662b9a236
|
perf: use Cow to avoid some PathBuf allocations
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 16:51:58 +02:00 |
|
ljedrz
|
f59416be1b
|
refactor: pass &Path instead of &PathBuf as arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 16:18:46 +02:00 |
|
ljedrz
|
790f1c472a
|
perf: don't allocate PathBufs for the purposes of PathBuf::push
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 15:52:45 +02:00 |
|
ljedrz
|
69d35063f2
|
perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 15:52:45 +02:00 |
|
ljedrz
|
529d87bc88
|
perf: remove some generic unnecessary allocations
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-16 15:52:45 +02:00 |
|
ljedrz
|
970f808290
|
perf: refactor a lot of the compiler so that Spans and Strings are rarely cloned
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-15 18:19:34 +02:00 |
|
ljedrz
|
845671547f
|
perf: don't clone the whole iterator while parsing expressions
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 14:26:11 +02:00 |
|
ljedrz
|
07743b2d75
|
bench: change the AST bench to a much more complex one
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 13:44:59 +02:00 |
|
ljedrz
|
88bd491684
|
test: add extra AST pest tests
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 12:35:04 +02:00 |
|
ljedrz
|
d1ee66a747
|
feat(ast): handle the empty tuple type
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 12:22:31 +02:00 |
|
ljedrz
|
e2f0848773
|
fix(ast): disallow single-member tuples
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 11:01:51 +02:00 |
|
ljedrz
|
88cdbd4fe6
|
refactor(ast): remove the expression_tuple indirection from access_call
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 10:50:26 +02:00 |
|
ljedrz
|
0ccaea86f7
|
test: introduce AST pest tests
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-14 10:37:39 +02:00 |
|
dependabot-preview[bot]
|
c8ccdb9c61
|
Bump serde_json from 1.0.57 to 1.0.59
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.57 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.59)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-13 10:43:22 +00:00 |
|
dependabot-preview[bot]
|
eb17a1d489
|
Bump toml from 0.5.6 to 0.5.7
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.6...0.5.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-12 10:24:33 +00:00 |
|
dependabot-preview[bot]
|
de793b5356
|
Bump tracing-subscriber from 0.2.12 to 0.2.13
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.12...tracing-subscriber-0.2.13)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-08 10:27:40 +00:00 |
|
ljedrz
|
e1e22a2310
|
perf: vector pre-allocation and associated tweaks
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-08 11:47:03 +02:00 |
|
dependabot-preview[bot]
|
eeb97fa390
|
Bump thiserror from 1.0.20 to 1.0.21
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.20...1.0.21)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
|
2020-10-07 10:44:46 +00:00 |
|
ljedrz
|
98baae93c1
|
clippy: assorted fixes to tests and benches
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 15:09:03 +02:00 |
|
ljedrz
|
bbcafd16de
|
clippy: fix match_ref_parts
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 13:37:51 +02:00 |
|
ljedrz
|
300666827e
|
fmt: run cargo +nightly fmt on the changes
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 13:07:30 +02:00 |
|
ljedrz
|
87f7d748a8
|
clippy: fix unit_arg
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
c09b7eb3b1
|
clippy: fix if_same_then_else
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
fe016dc168
|
clippy: fix needless_range_loop
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
08afb0e604
|
clippy: fix redundant_pattern_matching
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
4d8a91418f
|
clippy: fix unnecessary_unwrap
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
fc4e2ee4ab
|
clippy: fix type_complexity
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
8c099ab8c8
|
clippy: fix into_iter_on_ref
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
1a3d1fb2b8
|
clippy: fix collapsible_if
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
b4bb39872b
|
clippy: fix unused_unit
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
00e3885b3d
|
clippy: fix match_single_binding
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
c4aa913c68
|
clippy: fix map_clone
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
e6e6e9c234
|
clippy: allow some instances of ptr_arg
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
ea3542b30e
|
clippy: allow len_without_is_empty
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
bdfb6f5fb5
|
clippy: fix redundant_closure
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
e9b9c1f72f
|
fix: allow a piece of own deprecated code
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
f016b972fb
|
clippy: fix vec_box
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
70b87d331f
|
fix: replace deprecated functions
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
ba9fc92229
|
clippy: fix large_enum_variant
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
c4cdaed923
|
clippy: allow too_many_arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
1fc9b902dd
|
clippy: fix redundant_clone & clone_on_copy
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
93369aed33
|
clippy: fix ptr_arg
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|
ljedrz
|
27c3d7b71b
|
clippy: fix manual_swap
Signed-off-by: ljedrz <ljedrz@gmail.com>
|
2020-10-06 12:50:43 +02:00 |
|