"math code" is generally using wrapped native libraries not really all that slow.

But this seems like an apples to oranges comparison. Yes, of course a few scripts are very different than "something largeish" written in Python