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

Implement exception: false argument for Queue push & pop #6299

Closed
wants to merge 1 commit into from

Conversation

casperisfine
Copy link
Contributor

Ref: https://bugs.ruby-lang.org/issues/18982

[Feature #18982]

In many cases, especially when using the nonblock mode, it's much simpler and more efficient to check the return value rather than to rescue an exception.

[Feature #18982]

In many cases, especially when using the nonblock mode, it's
much simpler and more efficient to check the return value
rather than to rescue an exception.
@casperisfine
Copy link
Contributor Author

We decided it wasn't necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants