From 1d2b0e3f615874aae9b267f341f3461881a1c054 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Fri, 26 May 2006 14:29:35 +0000 Subject: Enable PY_USE_INT_WHEN_POSSIBLE in struct --- Modules/_struct.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Modules/_struct.c b/Modules/_struct.c index 8c98db8..95b5e0b 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 -- cgit v0.12