Skip to content

Use try_emplace to avoid multipe look-up#538

Merged
ZigRazor merged 1 commit intoZigRazor:masterfrom
vil02:use_try_emplace_CoordinatedPartitionState_getRecord
Oct 1, 2025
Merged

Use try_emplace to avoid multipe look-up#538
ZigRazor merged 1 commit intoZigRazor:masterfrom
vil02:use_try_emplace_CoordinatedPartitionState_getRecord

Conversation

@vil02
Copy link
Copy Markdown
Contributor

@vil02 vil02 commented Sep 30, 2025

This code can be simplified and optimized by using using try_emplace. Multiple look-up is no longer performed.

@vil02 vil02 marked this pull request as ready for review September 30, 2025 22:47
@ZigRazor
Copy link
Copy Markdown
Owner

ZigRazor commented Oct 1, 2025

Good One! Thank you so much! @vil02

@ZigRazor ZigRazor merged commit 6442be2 into ZigRazor:master Oct 1, 2025
10 of 17 checks passed
@vil02 vil02 deleted the use_try_emplace_CoordinatedPartitionState_getRecord branch October 1, 2025 09:20
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