[Python-Dev] strncpy

M.-A. Lemburg mal@lemburg.com
Thu, 13 Jul 2000 12:30:19 +0200


Paul Prescod wrote:
> 
> Paul Prescod wrote:
> >
> > Re: Patch #100874
> 
> Also, the LOAD_FAST and DELETE_FAST cases are identical when an
> exception is thrown. Should I make a small function as I would usually
> do or is that "bad style" in ceval. Moving code out of the switch
> probably helps keep commonly used code local and uncommon code
> "unlocal".

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 ;-).

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/