Comment

Comment by the__alchemist

Next logical optimization: Barnes Hut? Groups source bodies using a recursive tree of cubes. Gives huge speedups with high body counts. FMM is a step after, which also groups target bodies. Much more complicated to implement.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton