Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Parallelize siteRDF with ProductIterator #1882

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

rprospero
Copy link
Contributor

This adds a ProductIterator class that enables iterating over two separate indices. As a bit of a refresher:

  • PairIterator looks at distinct pairs from a single source set
  • ZipIterator examines pairs of indices for different iterators joined together, so each index is seen once.
  • ProductIterator examines every possible combination of indices from two different sources.

We then use this product iterator to parallelise the siteRDF calculation.

@rprospero rprospero changed the title pref: Parallelize siteRDF with ProductIterator perf: Parallelize siteRDF with ProductIterator Apr 23, 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.

None yet

1 participant