[Python-Dev] Silly little benchmark
firstname.lastname@example.org (Skip Montanaro)
Thu, 12 Jul 2001 08:13:16 -0500
Tim> AFAIK, nobody did anything *except* discuss it so far. Insert an
Tim> early special case for sequence cat, and you slow each numeric
Tim> addition by the time it takes to fail that test, so there's no
Tim> killer argument either way. int+int is special-cased by
Tim> BINARY_ADD, but everything else goes thru the general machinery.
Hmmm... What file we talkin' about Willis? If we did
test for int+int
test for string+string
we might speed up a couple very common cases enough to have an overall win.