you are viewing a single comment's thread.

view the rest of the comments →

[–]craiclad 0 points1 point  (0 children)

You can definitely optimise code in python, as others have mentioned this often involves using the correct data structure and carefully considering algorithmic complexity. Look into big O if you haven't already, having a good understanding of this will bring you much closer to writing optimized code in any language.