Skip to content

Add IterableEntityIdPager#239

Open
lucaswerkmeister wants to merge 1 commit intomasterfrom
IterableEntityIdPager
Open

Add IterableEntityIdPager#239
lucaswerkmeister wants to merge 1 commit intomasterfrom
IterableEntityIdPager

Conversation

@lucaswerkmeister
Copy link
Member

This can be used to page through an iterable of entity IDs without having to load it into memory all at once, as an alternative to:

new InMemoryEntityIdPager( ...$iterable )

Motivated by Wikibase change Ifc03865254.

@lucaswerkmeister lucaswerkmeister requested a review from tarrow April 7, 2020 10:58
@lucaswerkmeister
Copy link
Member Author

lucaswerkmeister commented Apr 7, 2020

(github won’t let me set the “needs changes” flag on my own change but please don’t merge right now)

edit: done

This can be used to page through an iterable of entity IDs without
having to load it into memory all at once, as an alternative to:

    new InMemoryEntityIdPager( ...$iterable )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants