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

Massively improve performance by using flat arrays internally #223

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

mourner
Copy link
Member

@mourner mourner commented Apr 26, 2023

Closes #222. Instead of storing internal point and cluster data as arrays of objects, store everything in flat numeric arrays (except for map/reduced cluster properties).

  • Improves clustering performance by ~14-17%.
  • Reduces memory overhead by 40–60%.

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.

Performance: store internal data in flat numeric arrays
1 participant