Commit Graph

1598 Commits

Author SHA1 Message Date
collin
ff62d9db7e impl dynamic check solving for equality checks 2020-10-22 12:40:35 -07:00
ljedrz
710bbc6730 perf: reduce allocations in Boolean's SignExtend impl
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
78f98f1f26 perf: reduce allocations in signed_integer's CondSelectGadget impl
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
f9e6b3caa8 perf: a small optimization to signed_integer equality checks
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
4ccc9c31db perf: reduce format!-related allocations and move them to closures where possible
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
63f80c0472 perf: reduce allocations in AllocGadget::{alloc, alloc_input}
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
55d0f2e340 perf: reduce allocations in the Neg impl for Vec<Boolean>
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
1e25738890 refactor: minor tweaks for signed_integer::div
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
ljedrz
09d456c01e bench: introduce integer arithmetic benchmarks
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-22 17:36:26 +02:00
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