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

refactor: avoid temporary allocation in Resource::get_best_key #1736

Merged

Conversation

wyfo
Copy link
Contributor

@wyfo wyfo commented Jan 22, 2025

The code has also be refactored to better express the intent.

Supersede #1730

The code has also be refactored to better express the intent.
@wyfo wyfo added the invalid This doesn't seem right label Jan 22, 2025
@wyfo wyfo requested a review from OlivierHecart January 22, 2025 14:57
Copy link

PR missing one of the required labels: {'internal', 'dependencies', 'enhancement', 'new feature', 'bug', 'documentation', 'breaking-change'}

@wyfo wyfo added internal Changes not included in the changelog and removed invalid This doesn't seem right labels Jan 22, 2025
@wyfo
Copy link
Contributor Author

wyfo commented Jan 22, 2025

@OlivierHecart Now I've a transformed Resource::get_best_key into a method, do you want me to replace all Resource::get_best_key(...) in the code by a method call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants