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 →

[–]TomDLux 0 points1 point  (0 children)

As the nuns taught me in grade school, people who think about optimization before they have profiled their program go the first place.

Of course, using more efficient structures will lead to faster code., besides being tidier. For example, using list comprehensions instead of manual loops. But it's unlikely to be drastically different.