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

New crate: Provide iterator-like methods on a crossbeam channel #106

Closed
Tracked by #93
JackKelly opened this issue Mar 15, 2024 · 2 comments
Closed
Tracked by #93

New crate: Provide iterator-like methods on a crossbeam channel #106

JackKelly opened this issue Mar 15, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@JackKelly
Copy link
Owner

JackKelly commented Mar 15, 2024

Whilst writing a code sketch for decompressing data, it occurred to me that it'd be nice to have a crate which:

Related

@JackKelly
Copy link
Owner Author

Wait, maybe this isn't necessary!? We can already iterate over channels! And we can use Rayon::par_iter to iterate in parallel! So maybe we just need some functions (to pass to par_iter().map()) which respect each item's metadata?

@JackKelly
Copy link
Owner Author

Sorry, I'm an idiot, this is totally unnecessary... we can just use par_iter! Here's a quick code sketch.

@JackKelly JackKelly closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant