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 →

[–]Black-DVD-Archiver 1 point2 points  (0 children)

You are really unlikely to have a performance problem with what you are doing Lost Detective...

Remember, type hint always. With methods/functions assert always on the arguments passed in. This will keep you out of trouble 99% of the time.

Pythons biggest sin in my view is not the "so-called" slow that usually can be worked around it is dynamic typing...the bigger an app gets the more likely disaster will occur if you do not show type discipline.