From: Bob Ippolito Date: Fri, 26 May 2006 14:29:35 +0000 (+0000) Subject: Enable PY_USE_INT_WHEN_POSSIBLE in struct X-Git-Tag: v2.5b1~465 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d2b0e3f615874aae9b267f341f3461881a1c054;p=python Enable PY_USE_INT_WHEN_POSSIBLE in struct --- diff --git a/Modules/_struct.c b/Modules/_struct.c index 8c98db85e5..95b5e0bb05 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -16,12 +16,10 @@ typedef int Py_ssize_t; #endif -/* PY_USE_INT_WHEN_POSSIBLE is an experimental flag that changes the +/* PY_USE_INT_WHEN_POSSIBLE is a flag that changes the struct API to return int instead of long when possible. This is often a significant performance improvement. */ -/* #define PY_USE_INT_WHEN_POSSIBLE 1 -*/ /* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments to be packed. This will break some incorrect code that happened