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

[wip, not merge] Propagate crossbeam's reduced-collection-frequency #958

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion Cargo.toml
Expand Up @@ -18,9 +18,15 @@ exclude = ["/ci/*", "/scripts/*", "/.github/*", "/bors.toml"]
members = ["rayon-demo", "rayon-core"]
exclude = ["ci"]

[features]
crossbeam-epoch-reduced-collection-frequency = ["rayon-core/crossbeam-epoch-reduced-collection-frequency"]

[dependencies]
rayon-core = { version = "1.9.2", path = "rayon-core" }
crossbeam-deque = "0.8.1"

[dependencies.crossbeam-deque]
git = "https://github.com/ryoqun/crossbeam"
rev = "340232bf3fd76786836105b0c5e3b4fee05b1895"
Comment on lines +26 to +29
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

obviously, we can't merge this as-is... ;)


# This is a public dependency!
[dependencies.either]
Expand Down
8 changes: 7 additions & 1 deletion rayon-core/Cargo.toml
Expand Up @@ -14,13 +14,19 @@ readme = "README.md"
keywords = ["parallel", "thread", "concurrency", "join", "performance"]
categories = ["concurrency"]

[features]
crossbeam-epoch-reduced-collection-frequency = ["crossbeam-deque/epoch-reduced-collection-frequency"]

# Some dependencies may not be their latest version, in order to support older rustc.
[dependencies]
num_cpus = "1.2"
crossbeam-channel = "0.5.0"
crossbeam-deque = "0.8.1"
crossbeam-utils = "0.8.0"

[dependencies.crossbeam-deque]
git = "https://github.com/ryoqun/crossbeam"
rev = "340232bf3fd76786836105b0c5e3b4fee05b1895"

[dev-dependencies]
rand = "0.8"
rand_xorshift = "0.3"
Expand Down