Convert consts to field elements from u32 if possible
未关闭
codegen
- 主要语言
- Rust
- 星标
- 96
- 派生
- 39
- PR 合并指标
- 30 天内没有已合并 PR
描述
If we know that a constant value is smaller than u32 we should try to use conversions from u32. For example: E::from(2_u32) instead of E::from(2_u64) as we may come up with a more efficient reduction for smaller values later on.
_Originally posted by @bobbinth in https://github.com/0xPolygonMiden/air-script/pull/58#discussion_r1022350246_
贡献指南
评估
这个 Issue 还没有评估数据。