Commit 1d2b0e3f authored by Bob Ippolito's avatar Bob Ippolito

Enable PY_USE_INT_WHEN_POSSIBLE in struct

parent 685dda8b
...@@ -16,12 +16,10 @@ typedef int Py_ssize_t; ...@@ -16,12 +16,10 @@ typedef int Py_ssize_t;
#endif #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 struct API to return int instead of long when possible. This is
often a significant performance improvement. */ often a significant performance improvement. */
/*
#define PY_USE_INT_WHEN_POSSIBLE 1 #define PY_USE_INT_WHEN_POSSIBLE 1
*/
/* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments /* PY_STRUCT_RANGE_CHECKING performs range checking on all arguments
to be packed. This will break some incorrect code that happened to be packed. This will break some incorrect code that happened
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment