Skip to content
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

Reuse buffers for label comparison #1

Conversation

fpetkovski
Copy link

Optimize heap comparison function.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
pkg/store/proxy_heap.go Outdated Show resolved Hide resolved
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Copy link
Owner

@wallee94 wallee94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to benchmark and analyze the performance issues. I understand the difference, and I think it is much better now. Everything looks good to me 👍

@wallee94 wallee94 merged commit 380b1e4 into wallee94:change-proxy-response-heap-less-func Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants