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

Calculate original capacity only if necessary #666

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

braddunbar
Copy link
Contributor

We don't need the original capacity if the shared data is unique, so let's not calculate it until after that check.

We don't need the original capacity if the shared data is unique, so
let's not calculate it until after that check.
@braddunbar
Copy link
Contributor Author

Test failures appear to be transient, but I don't have permission to re-run them. 🤷

Copy link
Member

@carllerche carllerche left a comment

Choose a reason for hiding this comment

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

Thanks.

@carllerche carllerche merged commit c6972d6 into tokio-rs:master Feb 6, 2024
15 checks passed
@braddunbar braddunbar mentioned this pull request Mar 22, 2024
@braddunbar braddunbar deleted the original-capacity branch March 24, 2024 13:11
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