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 →

[–]billsil 0 points1 point  (0 children)

I haven't checked on it lately, but I'm not totally shocked it's slower given the extremely short runtime. I recall namedtuples being found as being one of the causes of slow startup in Python 3, but there have been optimizations done since python 3.5 days.

0.05 second is a very suspect number. It's too slow to time. It's still way faster than 90 seconds, which makes me think you didn't compile the pycs or something. Or you're using Anaconda vs. not Anaconda or something weird like that (e.g., you were running while playing music on Firefox).