[Python-Dev] Silly little benchmark

Neil Schemenauer nas@python.ca
Thu, 12 Jul 2001 06:51:05 -0700


Skip Montanaro wrote:
> Hmmm... What file we talkin' about Willis?  If we did
> 
>     test for int+int
>     test for string+string
>     general machinery
> 
> we might speed up a couple very common cases enough to have an overall win.

BINARY_ADD in ceval.c.  I would guess that special casing strings would
be an overall loss.

  Neil