This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients belopolsky, gvanrossum, maltehelmert, pitrou, rbp
Date 2008-02-24.12:43:55
SpamBayes Score 0.03158021
Marked as misclassified No
Message-id <1203857037.19.0.343256320887.issue1040026@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Alexander,

> 5% is a lot and IIRC os.times is used by some standard python profilers 
> and 5% slowdown will affect people.

Profiled runs are always slower than non-profiled runs, so I'm not
convinced it is very important. You use profiling only when you need it,
not in normal production conditions.

However, fetching the value only once and then caching it is a valid
approach, so you can produce an updated patch for that if you want :-)
History
Date User Action Args
2008-02-24 12:43:57pitrousetspambayes_score: 0.0315802 -> 0.03158021
recipients: + pitrou, gvanrossum, belopolsky, maltehelmert, rbp
2008-02-24 12:43:57pitrousetspambayes_score: 0.0315802 -> 0.0315802
messageid: <1203857037.19.0.343256320887.issue1040026@psf.upfronthosting.co.za>
2008-02-24 12:43:56pitroulinkissue1040026 messages
2008-02-24 12:43:55pitroucreate