Conversation
batrick
left a comment
There was a problem hiding this comment.
I have no objections to these changes except that please split these into multiple PRs by component. It's much easier to QA/review that way.
|
Will do. One PR per top-level directory? Can you see why that one unit test fails? I tried building the unit tests, but I get strange build failures - I will eventually fix them, but since I've seen lots of bogus CI failures, I thought maybe this one may be bogus as well... |
|
A minor note: the erase() fixes seem to be more than optimizations. Might be worth mentioning in the title and labels as fixes (unless I'm missing something) |
The old code was not wrong; previously, the iterators were incremented manually before calling |
Hmm.. The line I saw said So if 'observers' is a vector - that's a bug. Indeed - it is not a vector, so I stand corrected. |
|
I created 4 new PRs with almost all of the patches here. When these are merged, I'll rebase this PR and then we see what still remains here. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
370408c to
1e557cd
Compare
1e557cd to
c971645
Compare
|
Rebased and dropped the patches that are already in the other two remaining open PRs. |
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>
For some containers, `empty()` is faster than `size()`. Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
c971645 to
f261347
Compare
|
@batrick is this trimmed-down PR acceptable or do you want me to split it further? |
1 similar comment
|
retest this please |
|
QA run approved (see https://tracker.ceph.com/projects/rados/wiki/MAIN#httpstrackercephcomissues69648) |
|
jenkins test docs |
|
@MaxKellermann it's ready for merge when all checks passed |
Various micro-optimizations.
Checklist