Skip to content

Avoid materializing all iterator in delayed tasks#10498

Merged
jrbourbeau merged 1 commit intodask:mainfrom
jrbourbeau:delayed-iterator
Sep 7, 2023
Merged

Avoid materializing all iterator in delayed tasks#10498
jrbourbeau merged 1 commit intodask:mainfrom
jrbourbeau:delayed-iterator

Conversation

@jrbourbeau
Copy link
Copy Markdown
Member

Materializing all iterators can have unexpected negative behavior. This PR limits to list, tuple, and set iterators.

cc @martindurant

@martindurant
Copy link
Copy Markdown
Member

👍

I had no idea of the existence of tuple_iterator, list_iterator or set_iterator. Interesting that these seem not to be importable, even thought they claim to be in module builtins.

@jrbourbeau
Copy link
Copy Markdown
Member Author

Thanks for looking at this Martin

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