Skip to content

Better, faster, stronger query algorithm for the refactor - #137

Merged
etwest merged 7 commits into
refactorfrom
refactor_query
Dec 15, 2023
Merged

Better, faster, stronger query algorithm for the refactor#137
etwest merged 7 commits into
refactorfrom
refactor_query

Conversation

@etwest

@etwestetwest commented Nov 29, 2023

Copy link
Copy Markdown
Collaborator

Before the refactor the latency of performing the CC calculation was 0.30 seconds for kron17. After the refactor it is approximately the same. Through a number of improvements this pull request reduces that latency to only 0.05 seconds for kron17.

Improvements

  • New algorithm for performing merges that requires only a tiny amount of synchronization
  • Linear time and highly parallel "sorting" algorithm for computing merge instructions
  • Efficient return type ConnectedComponents (just compute a root array)

@etwest
etwest merged commit d188fc3 into refactorDec 15, 2023
@etwest
etwest deleted the refactor_query branch December 15, 2023 02:44
Sign up for freeto 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

@etwest@DanielDeLayo