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

Fast bao tree #1322

Merged
merged 4 commits into from
Aug 3, 2023
Merged

Fast bao tree #1322

merged 4 commits into from
Aug 3, 2023

Conversation

rklaehn
Copy link
Contributor

@rklaehn rklaehn commented Aug 2, 2023

Description

Use the newly published iroh-blake3 and bao-tree to get much faster hashing of 16kb subtrees. Factor of 4 improvement due to SIMD use in blake3.

Ideally we would move back to upstream blake3 eventually, once BLAKE3-team/BLAKE3#329 is merged.

To make the switch and the subsequent switch back easier I removed the dependency on blake3 and instead reexported our forked blake3 as blake3 in bao-tree.

Notes & open questions

Is there a nicer way to do all this reexport business?

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

@rklaehn
Copy link
Contributor Author

rklaehn commented Aug 2, 2023

image

@rklaehn rklaehn added this pull request to the merge queue Aug 3, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 3, 2023
@rklaehn rklaehn enabled auto-merge August 3, 2023 11:27
@rklaehn rklaehn added this pull request to the merge queue Aug 3, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 3, 2023
@rklaehn rklaehn added this pull request to the merge queue Aug 3, 2023
Merged via the queue into main with commit 05385d1 Aug 3, 2023
15 checks passed
@b5 b5 added this to the v0.6.0 - Sync milestone Aug 16, 2023
@dignifiedquire dignifiedquire deleted the fast-bao-tree branch November 1, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants