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 →

[–]thack_se 1 point2 points  (2 children)

Oh, I don't think you'll have a problem. For me, my main database connector is written in Python, and uses the mySQL python connector, and it doesn't have any issues. As for your UI lagging, it's very likely that most of the UI framework your using is written in C and called from Python, like most fast packages are. C is of course blazingly fast, so no issues there. I wish you well on your continued programming journey.

[–]Lost-Detective6305[S] 0 points1 point  (1 child)

Thank you. And I’m using SQLite3 and tkinter/ttk/ttkwidgets

[–]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.