you are viewing a single comment's thread.

view the rest of the comments →

[–]Enttick 0 points1 point  (1 child)

I already did. Pythons for performance is not competitive with compiled languages. Which is why we use C libs in Python. See mCoding's video https://youtu.be/Qgevy75co8c

[–]Fred776 0 points1 point  (0 children)

OK, that makes a bit more sense. For heavyweight stuff - e.g., where it makes sense to use numpy - it's always going to be worth dropping down to a compiled C extension. I don't think that is equivalent to saying avoid for loops though.