Merged
Conversation
batrick
approved these changes
Oct 9, 2024
Member
|
By default, the Boost intrusive containers enable the `constant_time_size` option which adds overhead to each modification for tracking the size in a field. We don't need that. Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
This eliminates one temporary copy per call. Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Member
Author
|
Whoops, sorry, this happened when I moved the patch over to the "main" branch (same with the build failure in the other PR). I guess I forgot to build "main" after the move. (We're using Reef, so I develop and test everything on that branch and only move it over for upstream submission.) |
The machine code is both smaller and faster. Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
fb431a5 to
9441e9a
Compare
batrick
approved these changes
Oct 10, 2024
Member
|
This PR is under test in https://tracker.ceph.com/issues/68629. |
batrick
added a commit
to batrick/ceph
that referenced
this pull request
Oct 19, 2024
* refs/pull/60216/head: common/options: pass name as rvalue reference common/config: use libfmt to build strings common/config: use emplace_back() instead of push_back() common/HeartbeatMap: pass name as rvalue reference common/config_obs_mgr: use the erase() return value common/SloppyCRCMap: use the erase() return value common: disable `boost::intrusive::constant_time_size`
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
common-specific parts of #60175 (split upon @batrick's request)
Checklist