-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Reduce overhead in SubsetSelectorImpl by fixing alignment #25644
Conversation
Signed-off-by: AlanDiaz <[email protected]>
/retest |
Retrying Azure Pipelines: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Left a question.
/wait-any
@@ -757,10 +757,10 @@ class SubsetSelectorImpl : public SubsetSelector { | |||
|
|||
private: | |||
const std::set<std::string> selector_keys_; | |||
const std::set<std::string> fallback_keys_subset_; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this field moved to the end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't moved down, it was moved up above an enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah... misread the change. That makes sense.
Can you please add a relevant comment (before the enum) similar to other PRs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: AlanDiaz <[email protected]>
/retest |
Retrying Azure Pipelines: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
/assign-from @envoyproxy/senior-maintainers
@envoyproxy/senior-maintainers assignee is @mattklein123 |
/retest |
Retrying Azure Pipelines: |
Commit Message: Reduce overhead in SubsetSelectorImpl by fixing alignment
Additional Description: Moves many of the smaller members of the class to the end to save small amounts of memory
Risk Level: Low