Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRelease rayon 0.9.0 / rayon-core 1.3.0 / rayon-futures 0.1.0 #469
Conversation
cuviper
requested a review
from
nikomatsakis
Nov 8, 2017
This comment has been minimized.
This comment has been minimized.
|
bors r+ |
bors bot
added a commit
that referenced
this pull request
Nov 9, 2017
This comment has been minimized.
This comment has been minimized.
bors
bot
merged commit 94f1b99
into
rayon-rs:master
Nov 9, 2017
2 checks passed
bors
Build succeeded
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
cuviper
deleted the
cuviper:rayon-0.9
branch
Oct 18, 2018
bluss
referenced this pull request
Nov 20, 2018
Closed
Make ndarray-parallel a direct optional part of ndarray? #551
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
cuviper commentedNov 8, 2017
Configurationnow has abuildmethod.ParallelIteratoraddedflattenandintersperse, both inspired byitertools.
IndexedParallelIteratoraddedinterleave,interleave_shortest, andzip_eq, all inspired by itertools.iter::emptyandoncecreate parallel iterators ofexactly zero or one item, like their
stdcounterparts.iter::repeatandrepeatncreate parallel iteratorsrepeating an item indefinitely or
ntimes, respectively.join_contextworks likejoin, with an addedFnContextparameter that indicates whether the job was stolen.
Either(used byParallelIterator::partition_map) is now re-exported fromthe
eithercrate, instead of defining our own type.Eitheralso now implementsParallelIterator,IndexedParallelIterator,and
ParallelExtendwhen both of itsLeftandRighttypes do.Debug.Clonewhere possible.Futures
The
spawn_future()method has been refactored into its ownrayon-futurescrate, now through a
ScopeFutureExttrait forThreadPoolandScope. Thesupporting
rayon-coreAPIs are still gated by--cfg rayon_unstable.Breaking changes
rayon-core, but since they're fixingsoundness bugs, we are considering these minor changes for semver.
Scope::spawnnow requiresSendfor the closure.ThreadPool::installnow requiresSendfor the return value.iter::internalmodule has been renamed toiter::plumbing, to hopefullyindicate that while these are low-level details, they're not really internal
or private to rayon. The contents of that module are needed for third-parties
to implement new parallel iterators, and we'll treat them with normal semver
stability guarantees.
rayon::iter::splitis no longer re-exported asrayon::split.Contributors
Thanks to all of the contributors for this release!