Skip to content

Add Barnes-Hut QuadTree approximation#9

Merged
drkameleon merged 5 commits into
mainfrom
add-barnes-hut-quadtree-support
Feb 25, 2026
Merged

Add Barnes-Hut QuadTree approximation#9
drkameleon merged 5 commits into
mainfrom
add-barnes-hut-quadtree-support

Conversation

@drkameleon

Copy link
Copy Markdown
Owner

Replace the O(n²) brute-force N-body repulsion in the CPU force layout with a Barnes-Hut quadtree approximation, reducing repulsion complexity from O(n²) to O(n log n)

@drkameleon drkameleon added the enhancement New feature or request label Feb 25, 2026
@drkameleon

Copy link
Copy Markdown
Owner Author

Ready to merge! 🚀

@drkameleon drkameleon merged commit eae1312 into main Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant