Skip to content

Double the size of slice in BenchmarkSum2#132

Open
Justme0 wants to merge 1 commit into
teivah:masterfrom
Justme0:patch-1
Open

Double the size of slice in BenchmarkSum2#132
Justme0 wants to merge 1 commit into
teivah:masterfrom
Justme0:patch-1

Conversation

@Justme0
Copy link
Copy Markdown

@Justme0 Justme0 commented Mar 1, 2026

It's unfair that BenchmarkLinkedList iterates n times while BenchmarkSum2 iterates n/2 times because i+=2 in sum2.

It's unfair that `BenchmarkLinkedList` iterates n count but `BenchmarkSum2` iterates n/2 count because `i+=2` in `sum2`.
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.

1 participant