fix: reduce allocations in or_insert and get_or_insert - #6136
Conversation
ac82c0c to
3b593d3
Compare
Approvals have been dismissed because the PR was updated after the send-it label was applied.
|
@elenaf9 need a merge from |
@drHuangMHT merge conflict resolved |
|
|
See #6136 (comment). Check is required but failing due to a bug in the CI script. I've discuss it with @jxs out-of-band, he'll do a manual merge. |
Approvals have been dismissed because the PR was updated after the send-it label was applied.
Description
This PR tries to reduce allocations in a few places by replacing
(get)_or_insertwith(get)_or_insert_withNotes & open questions
Change checklist