Skip to content

Optimize chunked_even itertool#816

Merged
bbayles merged 1 commit intomore-itertools:masterfrom
james-wasson:optimize_chunked_even
Feb 20, 2024
Merged

Optimize chunked_even itertool#816
bbayles merged 1 commit intomore-itertools:masterfrom
james-wasson:optimize_chunked_even

Conversation

@james-wasson
Copy link
Copy Markdown
Contributor

Issue reference

#815

Changes

Increases the performance of the chunked_even itertool by removing looped slicing and combining online and finite methods.

See the issue for performance overview.

@bbayles
Copy link
Copy Markdown
Collaborator

bbayles commented Feb 20, 2024

This one is great - even simpler code.

@bbayles bbayles merged commit 768ba19 into more-itertools:master Feb 20, 2024
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.

2 participants