[issue3289] unnecessary call to time and localtime slows time.mktime

2008-07-05 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Commited in r64745. Thanks for this patch! -- nosy: +facundobatista resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue3289] unnecessary call to time and localtime slows time.mktime

2008-07-05 Thread Jon Nelson
New submission from Jon Nelson <[EMAIL PROTECTED]>: Basically, time.mktime calls time and localtime, and then overwrites those results. Removing these unnecessary calls results in a fairly noticeable speedup, lower double-digit percentile improvements for applications that do time parsing, for ex