Re: [Cython] [cython-users] freelist benchmarks

2013-02-24 Thread David Roe
I changed the current type pointer check to look at tp_basicsize instead. > That made it work for almost all classes in lxml's own Element hierarchy, > with only a couple of exceptions in lxml.objectify that have one additional > object field. So, just extending the freelist support to use two dif

Re: [Cython] [cython-users] freelist benchmarks

2013-02-24 Thread Stefan Behnel
mark florisson, 24.02.2013 18:56: > On 24 February 2013 17:50, mark florisson wrote: >> On 24 February 2013 15:58, Stefan Behnel wrote: >>> mark florisson, 24.02.2013 15:50: On 24 February 2013 13:52, Stefan Behnel wrote: > for those who haven't notice my other e-mail, I implemented a ne

Re: [Cython] [cython-users] freelist benchmarks

2013-02-24 Thread mark florisson
On 24 February 2013 15:58, Stefan Behnel wrote: > mark florisson, 24.02.2013 15:50: >> On 24 February 2013 13:52, Stefan Behnel wrote: >>> for those who haven't notice my other e-mail, I implemented a new extension >>> type decorator "@cython.freelist(N)" that replaces the normal object >>> creati

Re: [Cython] [cython-users] freelist benchmarks

2013-02-24 Thread mark florisson
On 24 February 2013 17:50, mark florisson wrote: > On 24 February 2013 15:58, Stefan Behnel wrote: >> mark florisson, 24.02.2013 15:50: >>> On 24 February 2013 13:52, Stefan Behnel wrote: for those who haven't notice my other e-mail, I implemented a new extension type decorator "@cython

Re: [Cython] [cython-users] freelist benchmarks

2013-02-24 Thread Stefan Behnel
mark florisson, 24.02.2013 15:50: > On 24 February 2013 13:52, Stefan Behnel wrote: >> for those who haven't notice my other e-mail, I implemented a new extension >> type decorator "@cython.freelist(N)" that replaces the normal object >> creation and deallocation with a freelist of N recently freed