mockingbirdnest / Principia

𝑛-Body and Extended Body Gravitation for Kerbal Space Program
MIT License
746 stars 67 forks source link

Round the polynomial coefficients using Mathematica and take advantage of powers of two #4016

Closed pleroy closed 1 month ago

pleroy commented 1 month ago

A bit faster:

Run on (48 X 3793 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x24)
  L1 Instruction 32 KiB (x24)
  L2 Unified 512 KiB (x24)
  L3 Unified 32768 KiB (x4)
----------------------------------------------------------------------
Benchmark                            Time             CPU   Iterations
----------------------------------------------------------------------
BM_ExperimentSinSingleTable       2.89 ns         2.85 ns    235790000
BM_ExperimentCosSingleTable       2.84 ns         2.83 ns    248889000

1760.