Re: 64 bit offsets?

2010-10-23 Thread Martin v. Loewis
Am 07.10.2010 23:20, schrieb MRAB: On 07/10/2010 20:12, jay thompson wrote: I'm not sure if it is limited to 32 bit addresses or if it's only re.start() that is limited to 'em. jt From what I can tell, Microsoft compilers (I'm assuming you're using Windows) have a 32-bit 'int' type for

Re: 64 bit offsets?

2010-10-07 Thread jay thompson
As nice as it would be to use 64bit offsets I am instead mmapping the file in 1GB chunks and getting the results I need. I would still be interested in a 64bit solution though. jt On Wed, Oct 6, 2010 at 2:41 PM, jay thompson jayryan.thomp...@gmail.comwrote: Hello everyone, I'm trying to

64 bit offsets?

2010-10-07 Thread jay thompson
Hello everyone, I'm trying to extract some data from a large memory mapped file (the largest is ~30GB) with re.finditer() and re.start(). Pythons regular expression module is great but the size of re.start() is 32bits (signed so I can really only address 2GB). I was wondering if any here had

Re: 64 bit offsets?

2010-10-07 Thread MRAB
that a 64-bit version of Python would have 64-bit offsets. Is that not the case? -- http://mail.python.org/mailman/listinfo/python-list

Re: 64 bit offsets?

2010-10-07 Thread jay thompson
to manage is us. ...Bill Ballantine, marine biologist. On 2010-10-07 8:42 AM, MRAB pyt...@mrabarnett.plus.com wrote: On 06/10/2010 22:41, jay thompson wrote: Hello everyone, I'm trying to extract some data fro... I would've thought that a 64-bit version of Python would have 64-bit offsets

Re: 64 bit offsets?

2010-10-07 Thread MRAB
...@mrabarnett.plus.com wrote: On 06/10/2010 22:41, jay thompson wrote: Hello everyone, I'm trying to extract some data fro... I would've thought that a 64-bit version of Python would have 64-bit offsets. Is that not the case? -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org