[issue19537] Fix misalignment in fastsearch_memchr_1char

STINNER Victor report at bugs.python.org
Mon Mar 24 09:16:32 CET 2014


STINNER Victor added the comment:

2014-03-24 0:30 GMT+01:00 Antoine Pitrou <report at bugs.python.org>:
>> What is the size of the PyASCIIObject on x86/x64 with and without the
>> patch?
>
> Haven't tried on x86, but on x86-64 it's the same. If it changes it will
> probably get detected by the sys.getsizeof() tests.

test_sys has been modified:

-        asciifields = "nnbP"
+        asciifields = "nn4bP"

It would like to know if objects are bigger with the change or not.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19537>
_______________________________________


More information about the Python-bugs-list mailing list