Commit Graph

1589 Commits

Author SHA1 Message Date
ljedrz
c62337e1fe perf: remove a redundant clone
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
ljedrz
5fc4179e20 cleanup: remove a redundant map
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
ljedrz
e5f47b8254 perf: make Address is_constant method faster
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
ljedrz
afe669babd perf: make signed_integer's is_constant method faster
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
ljedrz
153202752f refactor: use matches! in Type methods
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
ljedrz
d98ae0a105 refactor: pass Span by value in set_span methods
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 09:36:08 +02:00
Collin Chin
f62d2d7930
Merge pull request #402 from ljedrz/post_merge_cleanup
A few post-merge cleanups
2020-10-22 00:02:50 -07:00
Collin Chin
36c6c976f2
Merge pull request #398 from AleoHQ/dependabot/cargo/env_logger-0.8.1
Bump env_logger from 0.7.1 to 0.8.1
2020-10-22 00:01:57 -07:00
Collin Chin
b190752a3c
Merge pull request #397 from AleoHQ/dependabot/cargo/console-0.13.0
Bump console from 0.12.0 to 0.13.0
2020-10-22 00:01:35 -07:00
Collin Chin
8f9e195ed6
Merge pull request #395 from AleoHQ/dependabot/cargo/serde-1.0.117
Bump serde from 1.0.116 to 1.0.117
2020-10-22 00:01:11 -07:00
dependabot-preview[bot]
2b1894c88b
Bump serde from 1.0.116 to 1.0.117
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.116 to 1.0.117.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.116...v1.0.117)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 05:54:14 +00:00
Collin Chin
bd857d555b
Merge pull request #390 from AleoHQ/dependabot/cargo/serde_json-1.0.59
Bump serde_json from 1.0.57 to 1.0.59
2020-10-21 22:53:32 -07:00
Collin Chin
3d021c4c4a
Merge pull request #389 from AleoHQ/dependabot/cargo/toml-0.5.7
Bump toml from 0.5.6 to 0.5.7
2020-10-21 22:53:05 -07:00
Collin Chin
0cf9c15116
Merge pull request #387 from AleoHQ/dependabot/cargo/tracing-subscriber-0.2.13
Bump tracing-subscriber from 0.2.12 to 0.2.13
2020-10-21 22:52:38 -07:00
Collin Chin
899c884da5
Merge pull request #386 from AleoHQ/dependabot/cargo/thiserror-1.0.21
Bump thiserror from 1.0.20 to 1.0.21
2020-10-21 22:51:56 -07:00
collin
31ace3168f handle console function call statement 2020-10-21 20:59:25 -07:00
collin
e5015ccce7 impl dynamic checker iteration statement 2020-10-21 20:50:14 -07:00
collin
cfb5e1b5f7 impl dynamic checker conditional statement 2020-10-21 20:15:08 -07:00
collin
71d3969ac5 impl dynamic checker expression statement 2020-10-21 16:13:52 -07:00
collin
4a746e4a81 cargo fmt license headers 2020-10-21 12:21:40 -07:00
collin
c9b7b0ccc6 Merge branch 'master' of github.com:AleoHQ/leo into feature/license-header 2020-10-21 12:18:54 -07:00
collin
82c3d66847 remove required space after subtraction operator 2020-10-21 11:44:57 -07:00
collin
d00eff2d86 removes confusing examples 2020-10-21 11:35:00 -07:00
ljedrz
115b7f2266 test: fix a few CI warnings
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-21 17:26:51 +02:00
ljedrz
7443bffc00 clippy: unbox some arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-21 11:16:24 +02:00
ljedrz
5e4f799685 clippy: remove a few redundant clones
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-21 11:14:27 +02:00
ljedrz
4f298510f9 clippy: remove an unused import
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-21 11:13:03 +02:00
ljedrz
5fbbf5e978 perf: don't clone the pest iterator when parsing
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-21 11:12:25 +02:00
Collin Chin
61556cca29
Merge pull request #399 from ljedrz/boxing_improvements
Boxing improvements
2020-10-21 02:10:18 -07:00
Collin Chin
0850da64b5
Merge pull request #396 from ljedrz/alloc_hunting
Further memory-handling improvements
2020-10-21 01:54:34 -07:00
collin
3870cf785d fix box accesses 2020-10-21 01:32:09 -07:00
collin
8ea2735caa fix string references 2020-10-21 01:15:12 -07:00
collin
c9e044d3c3 cargo fmt 2020-10-21 01:05:56 -07:00
Collin Chin
33d4da7ad5
Merge branch 'master' into alloc_hunting 2020-10-21 01:05:24 -07:00
Collin Chin
bf77207918
Merge branch 'master' into boxing_improvements 2020-10-21 01:03:38 -07:00
Collin Chin
ae5f2f7b54
Merge pull request #394 from ljedrz/pass_by_reference_compiler_overhaul
Pass by reference compiler overhaul
2020-10-21 00:56:23 -07:00
Collin Chin
3c0409da16
Merge branch 'master' into boxing_improvements 2020-10-21 00:51:49 -07:00
Collin Chin
e06e9b9ce6
Merge branch 'master' into alloc_hunting 2020-10-21 00:51:22 -07:00
collin
096cc28d75 Merge commit '317aa4e19a1f4bccadf7751efd69a4cb058f20ca' into boxing_improvements 2020-10-21 00:50:47 -07:00
collin
8e3c7e17ca Merge commit '317aa4e19a1f4bccadf7751efd69a4cb058f20ca' into alloc_hunting 2020-10-21 00:48:35 -07:00
Collin Chin
c871de27c0
Merge pull request #393 from ljedrz/ast_perf
Change the AST benchmark to a more stable one, remove an unnecessary clone
2020-10-21 00:39:31 -07:00
Collin Chin
5f13eccd0b
Merge pull request #391 from ljedrz/pest_test
Introduce some pest-specific AST tests, disallow single-member tuples, handle the empty tuple type
2020-10-21 00:20:18 -07:00
collin
7c9a5ad8aa fix reference error 2020-10-21 00:19:30 -07:00
Collin Chin
6d00e9e0d3
Merge branch 'master' into pass_by_reference_compiler_overhaul 2020-10-20 23:56:38 -07:00
collin
feeb34badc Merge commit '317aa4e19a1f4bccadf7751efd69a4cb058f20ca' into pass_by_reference_compiler_overhaul 2020-10-20 23:55:06 -07:00
collin
5f73bde712 Merge commit '7cdc54518aec105b6e60281ce2159bda895a76e5' into ast_perf 2020-10-20 23:50:35 -07:00
Collin Chin
93f0f8a17b
Merge branch 'master' into pest_test 2020-10-20 23:40:45 -07:00
collin
d680aa6cfc fix map formatting error 2020-10-20 23:35:31 -07:00
collin
ea201454e4 Merge commit '7cdc54518aec105b6e60281ce2159bda895a76e5' into pest_test 2020-10-20 23:03:33 -07:00
Collin Chin
55da1f1b2f
Merge pull request #388 from ljedrz/type_tweaks
A few tweaks to types, new benchmarks
2020-10-20 23:01:11 -07:00