Is there no compression support for large sized strings in Python?
Christopher Subich
csubich.spam.block at spam.subich.block.com
Mon Dec 5 09:51:44 EST 2005
Fredrik Lundh wrote:
> Christopher Subich wrote:
>>
>>I have access to an itanium system with a metric ton of memory. I
>>-think- that the Python version is still only a 32-bit python
>
>
> an ILP64 system is a system where int, long, and pointer are all 64 bits,
> so a 32-bit python on a 64-bit platform doesn't really qualify.
>
Did a quick check, and int is 32 bits, while long and pointer are each 64:
Python 2.2.3 (#1, Nov 12 2004, 13:02:04)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.calcsize('i'),struct.calcsize('l'),struct.calcsize('P')
(4, 8, 8)
So, as of 2.2.3, there might still be a problem.
More information about the Python-list
mailing list