Commit 8825c18b authored by Kevin Modzelewski's avatar Kevin Modzelewski

Enable PYMALLOC on release modes as well

I guess it was originally turned on for the extra debugging it provides,
but it also a decent amount faster than system malloc/free
(though I think we could do better still).
parent 3d761d86
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#define PYSTON_VERSION "0.5" #define PYSTON_VERSION "0.5"
#define WITH_PYMALLOC
// XXX: testing // XXX: testing
#ifndef NDEBUG #ifndef NDEBUG
#define Py_REF_DEBUG #define Py_REF_DEBUG
#define WITH_PYMALLOC
#define PYMALLOC_DEBUG #define PYMALLOC_DEBUG
// Uncomment this to get some very heavy ref debugging: // Uncomment this to get some very heavy ref debugging:
// #define Py_TRACE_REFS // #define Py_TRACE_REFS
......
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