[Python-3000] C API for ints and strings

Nicholas Bastin nick.bastin at gmail.com
Tue Sep 11 06:50:57 CEST 2007


On 9/10/07, Terry Reedy <tjreedy at udel.edu> wrote:
>
> "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).

Interesting, I didn't look at the code (obviously), but my
understanding was that it was only positive integers below 100.

--
Nick


More information about the Python-3000 mailing list