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

BREAKING: Make all APIs synchronous #155

Closed
wants to merge 1 commit into from
Closed

BREAKING: Make all APIs synchronous #155

wants to merge 1 commit into from

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Oct 8, 2023

Blocked by #154.

All of the APIs we use from @noble/curves are synchronous, meaning that we can make all functions in this package synchronous as well. This is a breaking change, because it changes the function signature for most functions.

@Mrtenz
Copy link
Member Author

Mrtenz commented Oct 8, 2023

Synchronous APIs (this PR):

yarn test  71.31s user 3.66s system 248% cpu 30.143 total

Asynchronous APIs (#154):

yarn test  70.55s user 3.65s system 246% cpu 30.145 total

Current main branch:

yarn test  52.92s user 3.20s system 248% cpu 22.568 total

Base automatically changed from mrtenz/noble-curve to main October 9, 2023 10:38
@Mrtenz Mrtenz closed this Feb 7, 2024
@Mrtenz Mrtenz deleted the mrtenz/sync branch March 8, 2024 23:28
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.

1 participant