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

Revert "Switch from std::sync::mpsc to crossbeam-channel" #916

Merged
merged 2 commits into from
Jan 6, 2022

Conversation

tavianator
Copy link
Collaborator

@sharkdp noticed a quite severe performance degredation due to this
change. Switch back to std::sync::mpsc until we can fix the performance
regression.

This reverts commit a4bb734.

@sharkdp [noticed][1] a quite severe performance degredation due to this
change.  Switch back to std::sync::mpsc until we can fix the performance
regression.

This reverts commit a4bb734.

[1]: sharkdp#895 (comment)
@tavianator
Copy link
Collaborator Author

I suppose it's worth mentioning that this makes it possible we'll encounter rust-lang/rust#39364, as we are using recv_timeout()

@sharkdp sharkdp merged commit ccc6cc5 into sharkdp:master Jan 6, 2022
@sharkdp
Copy link
Owner

sharkdp commented Jan 6, 2022

Merging this for now until the situation has been clarified. I opened a new ticket for this in #933.

@tavianator tavianator deleted the revert-crossbeam branch January 7, 2022 19:54
tmccombs added a commit to tmccombs/fd that referenced this pull request Feb 10, 2022
tmccombs added a commit to tmccombs/fd that referenced this pull request Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants