Changing intobject to use int rather than long

Clarence clarence1126 at gmail.com
Tue Dec 18 13:45:25 EST 2007


On Dec 18, 6:24 pm, "Chris Mellon" <arka... at gmail.com> wrote:
>
> Your int objects get twice as large, but you get 4294967296 times more
> address space.
>
> (They don't always get twice as large, and you don't actually get that
> much address space, and there's lots of other things wrong with this
> answer, but the core truth - that your available address space grows
> at a greater rate than the size of your ints - is correct).

Technically true, but in my real world, I deal with physical RAM in
the machine. I went from a 2GB machine that was using half its memory
to an 8GB machine that is using one quarter its memory. Yes, it's
better,
but I still want that factor of two!



More information about the Python-list mailing list