The latter is undocumented and the speed gain is negligible.
Jan Urbański
{
PLyPlanObject *ob;
- if ((ob = PyObject_NEW(PLyPlanObject, &PLy_PlanType)) == NULL)
+ if ((ob = PyObject_New(PLyPlanObject, &PLy_PlanType)) == NULL)
return NULL;
ob->plan = NULL;
{
PLyResultObject *ob;
- if ((ob = PyObject_NEW(PLyResultObject, &PLy_ResultType)) == NULL)
+ if ((ob = PyObject_New(PLyResultObject, &PLy_ResultType)) == NULL)
return NULL;
/* ob->tuples = NULL; */