Commit 65d5bc4a authored by Stefan Behnel's avatar Stefan Behnel

Reduce a tiny bit of overhead in a very long running test.

parent 0b81c765
...@@ -33,7 +33,7 @@ cdef class Recurse: ...@@ -33,7 +33,7 @@ cdef class Recurse:
cdef public attr cdef public attr
cdef int deallocated cdef int deallocated
def __init__(self, x): def __cinit__(self, x):
self.attr = x self.attr = x
def __dealloc__(self): def __dealloc__(self):
...@@ -68,7 +68,7 @@ cdef class RecurseFreelist: ...@@ -68,7 +68,7 @@ cdef class RecurseFreelist:
cdef public attr cdef public attr
cdef int deallocated cdef int deallocated
def __init__(self, x): def __cinit__(self, x):
self.attr = x self.attr = x
def __dealloc__(self): def __dealloc__(self):
...@@ -118,7 +118,7 @@ cdef class Sub1(Base): ...@@ -118,7 +118,7 @@ cdef class Sub1(Base):
""" """
cdef public attr cdef public attr
def __init__(self, x): def __cinit__(self, x):
self.attr = x self.attr = x
def __dealloc__(self): def __dealloc__(self):
...@@ -140,7 +140,7 @@ cdef class Sub2(Middle): ...@@ -140,7 +140,7 @@ cdef class Sub2(Middle):
""" """
cdef public attr cdef public attr
def __init__(self, x): def __cinit__(self, x):
self.attr = x self.attr = x
def __dealloc__(self): def __dealloc__(self):
......
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