Thomas Di Giusto
Notes on numerical methods, performance and the code I write.
-
I made my code 2.4x faster with this simple trick
A copper bar hitting a wall took 13.85 s to simulate on one core. Now it takes 5.74 s, so 2.41× faster. The final length is 19.419 mm before and after.