Skip to content

Conversation

@reallesee
Copy link
Contributor

@reallesee reallesee commented Jul 12, 2025

Description

Replace BigInt(8) with 8n literal in bit shift operation to improve performance by avoiding unnecessary BigInt object creation.

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn format and yarn lint without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Copy link
Member

@vplasencia vplasencia left a comment

Choose a reason for hiding this comment

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

Looks great! Thank you very much @reallesee

@vplasencia vplasencia merged commit 81dbf86 into semaphore-protocol:main Aug 6, 2025
4 checks passed
@gitpoap-bot
Copy link

gitpoap-bot bot commented Aug 6, 2025

Congrats, your important contribution to this open-source project has earned you a GitPOAP!

GitPOAP: 2025 Semaphore Contributor:

GitPOAP: 2025 Semaphore Contributor GitPOAP Badge

Head to gitpoap.io & connect your GitHub account to mint!

Learn more about GitPOAPs here.

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.

2 participants