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

Allow write_bits builtin and add a few more optimizations #1082

Merged
merged 10 commits into from
Jan 12, 2025

Conversation

MicroProofs
Copy link
Member

No description provided.

@MicroProofs MicroProofs requested a review from a team as a code owner January 9, 2025 08:46
@MicroProofs MicroProofs force-pushed the write-bits-plus-other-optimize branch from 9257f9e to c44d9a1 Compare January 9, 2025 08:48
| DefaultFunction::AppendByteString
| DefaultFunction::LessThanEqualsByteString
| DefaultFunction::LessThanByteString => arg_stack.iter().all(|arg| {
| DefaultFunction::LessThanByteString
| DefaultFunction::DecodeUtf8
Copy link
Member

Choose a reason for hiding this comment

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

I don't believe this is generally true? Decoding an invalid bytestring will throw / error. Though maybe I am misunderstanding this function (does it only look at arguments?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh you are right. I'll remove it.

@MicroProofs
Copy link
Member Author

Will merge tomorrow unless anything else is needed.

@MicroProofs MicroProofs force-pushed the write-bits-plus-other-optimize branch from 90fa7f6 to d559e38 Compare January 11, 2025 12:08
@MicroProofs MicroProofs merged commit d559e38 into main Jan 12, 2025
13 checks passed
@MicroProofs MicroProofs deleted the write-bits-plus-other-optimize branch January 12, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ In Next Release
Development

Successfully merging this pull request may close these issues.

2 participants