mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-26 08:30:59 +03:00
5e7591fec9
Specifically three changes are made: 1. Cache Anded together chains of conditionals for early returns. This prevents quadratic code being generated in the face of a chain of ifs like ``` if a { return 0u32; } else if b { return 1u32 } else if ... ``` 2. Take into account early returns for asserts, and cache the when reconstructing the assert, as with caching them for early returns. Fixes #28386, #28387 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |