-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
labels: small optimization in NewFrom and various cleanups #30006
Merged
Conversation
This file contains 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
It's unused since commit 7eb7f22 ("EndpointSelector: replacing LabelArray with k8s LabelSelector"). Signed-off-by: Tobias Klauser <tobias@cilium.io>
tklauser
added
kind/cleanup
This includes no functional changes.
release-note/misc
This PR makes changes that have no direct user impact.
labels
Dec 20, 2023
/test |
giorio94
approved these changes
Dec 20, 2023
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
Nit. s/instad/instead/
in the title of the second commit.
Use the predefined const. Signed-off-by: Tobias Klauser <tobias@cilium.io>
Allocate a label map of the correct known size. name old time/op new time/op delta NewFrom-8 638ns ± 8% 71ns ± 6% -88.87% (p=0.000 n=10+10) name old alloc/op new alloc/op delta NewFrom-8 624B ± 0% 0B -100.00% (p=0.000 n=10+10) name old allocs/op new allocs/op delta NewFrom-8 2.00 ± 0% 0.00 -100.00% (p=0.000 n=10+10) Signed-off-by: Tobias Klauser <tobias@cilium.io>
tklauser
force-pushed
the
pr/tklauser/labels-cleanup
branch
from
December 20, 2023 15:22
67368ce
to
b80cd9a
Compare
/test |
squeed
approved these changes
Jan 8, 2024
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.
sweet sweet.
tklauser
added
the
needs-backport/1.15
This PR / issue needs backporting to the v1.15 branch
label
Jan 10, 2024
jibi
added
backport-pending/1.15
The backport for Cilium 1.15.x for this PR is in progress.
and removed
needs-backport/1.15
This PR / issue needs backporting to the v1.15 branch
labels
Jan 12, 2024
maintainer-s-little-helper
bot
moved this from Needs backport from main
to Backport pending to v1.15
in v1.15.0-rc.1
Jan 12, 2024
giorio94
added
the
backport-done/1.15
The backport for Cilium 1.15.x for this PR is done.
label
Jan 29, 2024
giorio94
removed
the
backport-pending/1.15
The backport for Cilium 1.15.x for this PR is in progress.
label
Jan 29, 2024
maintainer-s-little-helper
bot
moved this from Backport pending to v1.15
to Backport done to v1.15
in v1.15.0-rc.1
Jan 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-done/1.15
The backport for Cilium 1.15.x for this PR is done.
kind/cleanup
This includes no functional changes.
release-note/misc
This PR makes changes that have no direct user impact.
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.
See commits for details.