Re:Why Python Runs Slow, Part 1: Data Structures
by mapleoin on Thursday February 13, 2014 @07:49AM
(#7231000)
I think you're timing the import in there, too. Plus, creating an object of a class rather than using a literal will always be slower.
[ Parent
| on HN ]
Re:Why Python Runs Slow, Part 1: Data Structures
by mjschultz on Thursday February 13, 2014 @07:52AM
(#7231005)
Does the --setup statement really get timed?
My reading of the docs[1] has always led me to believe that it doesn't. For example, "It is possible to provide a setup statement that is executed only once at the beginning"