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

Add Using SUB or XOR Instead of ISZERO(EQ) #812

Merged
merged 3 commits into from
Dec 25, 2024

Conversation

jackleeio
Copy link
Contributor

Pre-flight checklist

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
conflux-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 3:11pm

@intrepidcanadian
Copy link
Contributor

The code looks fine to me and compiles fine with gas estimated to be higher for ISZERO(EQ). There is also estimated savings compared for SUB and XOR vs. equality checks.

Fine to merge

@darwintree darwintree merged commit 550c238 into Conflux-Chain:main Dec 25, 2024
3 checks passed
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.

3 participants