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

Introduce rayon feature in trie-common #14091

Closed
Tracked by #13951
mattsse opened this issue Jan 30, 2025 · 1 comment
Closed
Tracked by #13951

Introduce rayon feature in trie-common #14091

mattsse opened this issue Jan 30, 2025 · 1 comment
Assignees
Labels
A-sdk Related to reth's use as a library C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started

Comments

@mattsse
Copy link
Collaborator

mattsse commented Jan 30, 2025

ref #13443

this is baking in rayon in public API:

pub fn from_bundle_state<'a, KH: KeyHasher>(
state: impl IntoParallelIterator<Item = (&'a Address, &'a BundleAccount)>,
) -> Self {

we should do something like this here:

#[cfg(feature = "rayon")]
mod rayon {

TODO

  • introduce a rayon feature
  • make functions mutually exclusive, one regular intoiter, one intoparallel
@mattsse mattsse added C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started A-sdk Related to reth's use as a library labels Jan 30, 2025
@DarkLord017
Copy link
Contributor

can i work on this issue @mattsse ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdk Related to reth's use as a library C-enhancement New feature or request D-good-first-issue Nice and easy! A great choice to get started
Projects
Status: Done
Development

No branches or pull requests

2 participants