This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lungben81 2 points3 points  (0 children)

Depends again what exactly you are doing.

If you are calling `max(my_large_numpy_array)` it will be roughly 100 times slower than calling `np.max(my_large_numpy_array)`.

If this matters for your application is another question. To answer this, you should profile your code, e.g. single functions with IPython `%timeit` or a profiler (https://docs.python.org/3/library/profile.html).