[Python-3000] C API for ints and strings (original) (raw)
Terry Reedy tjreedy at udel.edu
Tue Sep 11 01:03:13 CEST 2007
- Previous message: [Python-3000] C API for ints and strings
- Next message: [Python-3000] C API for ints and strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Nicholas Bastin" <nick.bastin at gmail.com> wrote in message news:66d0a6e10709101058n22b04bfakf67a15aea8e739f4 at mail.gmail.com... | Yeah, my point was mostly an aside to anyone that might have | questioned my earlier results of a 2.3x slowdown on integer-sized | values because I used 1. A quick switch to 200 netted the exact same | results,
Currently, 200 is a small, cached int just as 1 is ([-10,256] or so is range).
| and a more extensive refactoring to get the same number of | operations on a random set of larger numbers netted the same result as | well
better test
tjr
- Previous message: [Python-3000] C API for ints and strings
- Next message: [Python-3000] C API for ints and strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]