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

Faster single add #352

Merged
merged 3 commits into from
Jun 13, 2022
Merged

Faster single add #352

merged 3 commits into from
Jun 13, 2022

Conversation

arj03
Copy link
Member

@arj03 arj03 commented Jun 12, 2022

add() is used in EBT so should be as fast as possible, this avoids some overhead. classic add goes from 8400 to 8800 with this change.

* Faster buttwoo validate

* Cache some more in buttwoo

* Refactor
@arj03 arj03 requested a review from staltz June 13, 2022 08:06
core.js Outdated Show resolved Hide resolved
@arj03
Copy link
Member Author

arj03 commented Jun 13, 2022

Should be ready now :)

@staltz staltz merged commit ebac79a into formats-split Jun 13, 2022
@staltz staltz deleted the faster-single-add branch June 13, 2022 09:22
@staltz
Copy link
Member

staltz commented Jun 13, 2022

Awesome

@arj03
Copy link
Member Author

arj03 commented Jun 13, 2022

I think we can start looking at the uri changes e.g. now and see if we can add some of the things back

@staltz
Copy link
Member

staltz commented Jun 13, 2022

URI changes, you mean the buttwoo URI with author+parent?

And, add which things back?

@arj03
Copy link
Member Author

arj03 commented Jun 13, 2022

@staltz
Copy link
Member

staltz commented Jun 13, 2022

Hmm, the link just points me to the whole PR

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