On Thu, Jul 12, 2001 at 08:13:16AM -0500, Skip Montanaro wrote: > 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? ceval.c, just look for BINARY_ADD. > 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. Don't forget to do meaningful performance comparisons before and after ;P -- Thomas Wouters <thomas@xs4all.net> Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4