Skip to content

Enable caching of advance/dereference methods for Zipiterator and PermutationIterator#6753

Merged
shwina merged 3 commits intoNVIDIA:mainfrom
shwina:add-more-iterator-caching
Nov 24, 2025
Merged

Enable caching of advance/dereference methods for Zipiterator and PermutationIterator#6753
shwina merged 3 commits intoNVIDIA:mainfrom
shwina:add-more-iterator-caching

Conversation

@shwina
Copy link
Contributor

@shwina shwina commented Nov 24, 2025

Description

Creating ZipIterator and PermutationIterator objects is expensive - involving dynamic code generation via exec, This PR enables caching of the generated advance and dereference methods.

It also moves the implementation of ZipIterator into _zip_iterator.py.

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@shwina shwina requested a review from a team as a code owner November 24, 2025 13:38
@shwina shwina requested a review from tpn November 24, 2025 13:38
@github-project-automation github-project-automation bot moved this to Todo in CCCL Nov 24, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Nov 24, 2025
@github-actions
Copy link
Contributor

🥳 CI Workflow Results

🟩 Finished in 1h 03m: Pass: 100%/48 | Total: 11h 28m | Max: 39m 51s

See results here.

@shwina shwina merged commit b0368ce into NVIDIA:main Nov 24, 2025
64 of 65 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants