Author pitrou
Recipients akitada, akuchling, amaury.forgeotdarc, collinwinter, doerwalter, ezio.melotti, georg.brandl, gregory.p.smith, jaylogan, jimjjewett, loewis, mark, moreati, mrabarnett, nneonneo, pitrou, r.david.murray, rsc, sjmachin, timehorse, vbr
Date 2009-08-12.12:16:20
SpamBayes Score 0.00342369
Marked as misclassified No
Message-id <1250079563.15735.4.camel@localhost>
In-reply-to <1250078650.91.0.50242524046.issue2636@psf.upfronthosting.co.za>
Content
> Remember, though, that
> when run as a single instance, at least in the existing engine, the re
> compiler caches recent compiles, so repeatedly compiling an expression
> flattens the overhead in a single run to a single compile and lookup,
> where as your tests recompile at each test

They don't. The pattern is compiled only once. Please take a look at
http://docs.python.org/library/timeit.html#command-line-interface
History
Date User Action Args
2009-08-12 12:16:23pitrousetrecipients: + pitrou, loewis, akuchling, doerwalter, georg.brandl, collinwinter, gregory.p.smith, jimjjewett, sjmachin, amaury.forgeotdarc, nneonneo, rsc, timehorse, mark, vbr, ezio.melotti, mrabarnett, jaylogan, akitada, moreati, r.david.murray
2009-08-12 12:16:21pitroulinkissue2636 messages
2009-08-12 12:16:20pitroucreate