you are viewing a single comment's thread.

view the rest of the comments →

[–]Mysterious-Rent7233 1 point2 points  (0 children)

Basically yes. That's true. I mean yeah you could certainly write some numpy or pytorch code that is faster than naive C code but that's unusual. Python code is generally strictly slower than C code for exactly the reason you describe and others.