[issue14419] Faster ascii decoding

STINNER Victor report at bugs.python.org
Tue Mar 27 01:16:06 CEST 2012


STINNER Victor <victor.stinner at gmail.com> added the comment:

+#if SIZEOF_LONG <= SIZEOF_VOID_P
+    if (!((size_t) p & LONG_PTR_MASK)) {

I wrote "q", not "p". You have to check p and q alignement to be able
to dereference p and q pointers.

sizeof(long) <= sizeof(void*) is always true.

----------

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


More information about the Python-bugs-list mailing list