4 ms·
All the particles in the simulation start at (0, 0, 0) so gravity is infinite, and the whole computation is operating on `NaN`s. Not sure how much this affects
by one-more-minute 10y ago
All the particles in the simulation start at (0, 0, 0) so gravity is infinite, and the whole computation is operating on `NaN`s.
Not sure how much this affects the benchmark, but it'd probably be smart to randomise the starting positions.
- fhars 10y agoSince the masses are also zero, the gravity is actually NaN.
- FeepingCreature 10y agoOperating on NaN is hugely slower than normal floating point numbers. You're hitting a slowpath in the processor's floating point logic.