diff --git a/src/tuplelist.h b/src/tuplelist.h index 687ab3c4..89e2bca5 100644 --- a/src/tuplelist.h +++ b/src/tuplelist.h @@ -11,13 +11,13 @@ using List = pod_vector; class Tuple { PyObject** _args; - PyObject* _inlined[3]; + PyObject* _inlined[2]; int _size; bool is_inlined() const { return _args == _inlined; } void _alloc(int n){ - if(n <= 3){ + if(n <= 2){ this->_args = _inlined; }else{ this->_args = (PyObject**)pool64.alloc(n * sizeof(void*));