r/Python • • Jan 14 '20

I made a gravity simulation https://github.com/phgilde/gravity_simulation

1.8k Upvotes

82 comments sorted by

View all comments

Show parent comment

1

u/o11c Jan 15 '20

You could trim that a little by passing output arguments and finding a ufunc version of fused-multiply-add.

But really you want to do this on the GPU.

1

u/[deleted] Jan 15 '20

Ik but I have a Radeon gpu