Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize
Everything
and Nothing
label selectors
Currently each call makes 1 small alloc. This is not much, but it adds up when this is called millions of times. This simple change just moves to using a shared struct between everything. This is safe as each operation on the Selector is not doing mutations. Kubernetes-commit: ca414d707a6b10c41b65ed9bee127773f2bcf0fc
- Loading branch information