[Python-Dev] strncpy

M.-A. Lemburg mal@lemburg.com
Thu, 13 Jul 2000 18:07:36 +0200


Paul Prescod wrote:
> 
> "M.-A. Lemburg" wrote:
> >
> > ...
> >
> > Before going down this road you should do some serious
> > performance testing. ceval is *very* touchy about the order
> > of the opcodes and adding indirection doesn't necessarily
> > help (the compiler inlines the code again ;-).
> 
> I'm not changing the order of the opcodes, just error handling.
> 
> Anyhow, would performance results on my single computer be meaningful?

Sure. If your changes cause a performance drop of more than 10%
in pystone then this would be a sign of having to rethink
the restructuring.
 
-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/