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

build: use slices.Insert instead of several appends #681

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

keegancsmith
Copy link
Member

I found the code a bit hard to read before, this I believe is more clear. I was also hoping for an improvement in the benchmarks, but the improvement was statistically insignificant.

Test Plan: go test

I found the code a bit hard to read before, this I believe is more
clear. I was also hoping for an improvement in the benchmarks, but the
improvement was statistically insignificant.

Test Plan: go test
@keegancsmith keegancsmith requested a review from a team November 6, 2023 10:16
@keegancsmith keegancsmith merged commit 47d620a into main Nov 6, 2023
8 checks passed
@keegancsmith keegancsmith deleted the k/slices-insert branch November 6, 2023 17:46
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