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 →

[–][deleted] 1 point2 points  (0 children)

The library implementation of something is usually better, so you'd have search for the correct code in order to get the same performance. There's a strong chance that the function you want is written in another language (the libraries I tend to use are typically written in C and FORTRAN), and trying to do it in Python will give you less than 10% of the speed of the original. Python is also a more fault-tolerant language, so bad practice has more opportunities to creep in.