Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve memory allocation when generating expression identifier #115

Merged
merged 3 commits into from
Jan 9, 2023

Conversation

adria0
Copy link
Member

@adria0 adria0 commented Jan 2, 2023

For the the implementation of the EVM ChallengeAPI, implement the following improvements:

  • Expression::identifier() remove string memory reallocation

  • Adds a transpose method to turn Value<Result<_>> into Result<Value<_>>

  • Implements PartialOrd for Value<F>

- Adds a `transpose` method to turn `Value<Result<_>>` into
  `Result<Value<_>>`
- `Expression::identifier()` remove string memory reallocation
Copy link

@han0110 han0110 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

halo2_proofs/src/circuit/value.rs Outdated Show resolved Hide resolved
@adria0 adria0 changed the title Helpers & improvements to implement Challenge API in EVM cicuit Improve memory allocation when generating expression identifier Jan 9, 2023
@adria0 adria0 merged commit 0af4611 into main Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants