Comment Comment by mjschultz That code should only create the dict/namedtuple instance once, then access it many, many times.The creation occurs in the --setup portion. The field accesses occur in the actual looping portion of the timeit code. parent mjschultz 12 years ago
The creation occurs in the --setup portion. The field accesses occur in the actual looping portion of the timeit code.