Mercurial > cpython-lru_cache-weakref
diff Modules/_struct.c @ 38371:a4e433c136da legacy-trunk
Enable PY_USE_INT_WHEN_POSSIBLE in struct
| author | Bob Ippolito <bob@redivi.com> |
|---|---|
| date | Fri, 26 May 2006 14:29:35 +0000 |
| parents | fa98b8df0fe2 |
| children | 1ba3e40e8649 |
line wrap: on
line diff
--- a/Modules/_struct.c Fri May 26 14:23:21 2006 +0000 +++ b/Modules/_struct.c Fri May 26 14:29:35 2006 +0000 @@ -16,12 +16,10 @@ #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
