-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: optional rayon #13552
feat: optional rayon #13552
Conversation
afa7b8f
to
1a318a0
Compare
CodSpeed Performance ReportMerging #13552 will degrade performances by 10.66%Comparing Summary
Benchmarks breakdown
|
/// Helper trait that requires rayon since `rayon` feature is enabled. | ||
#[cfg(feature = "rayon")] | ||
pub trait MaybeIntoParallelIterator: | ||
rayon::iter::IntoParallelIterator<Item = <Self as MaybeIntoParallelIterator>::Item> | ||
+ IntoIterator<Item = <Self as MaybeIntoParallelIterator>::Item> | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really a fan of this,
I think I'd rather two recovery fns instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to close this pr because the correct way to do this described in #13635 and I think it's easier to start over @lightsing wdyt?
thx @mattsse |
related issue: #13443
todo: when alloy-core is bumped to a release contains alloy-rs/core#827, propagate feature to
alloy-primitives/rayon