Re: [Cython] Bindings performance issue

2011-06-01 Thread mark florisson
On 31 May 2011 20:25, Vitja Makarov wrote: > Hi! > > Is bindings performance issue valuable? > > $ cat bindbench.pyx > def wo_bindings(): >    pass > > def outer(): >    def inner(): >        pass >    return inner > with_bindings = outer() > > $ python import timeit timeit.repeat('with_

Re: [Cython] Bindings performance issue

2011-06-01 Thread Vitja Makarov
2011/6/1 mark florisson : > On 31 May 2011 20:25, Vitja Makarov wrote: >> Hi! >> >> Is bindings performance issue valuable? >> >> $ cat bindbench.pyx >> def wo_bindings(): >>    pass >> >> def outer(): >>    def inner(): >>        pass >>    return inner >> with_bindings = outer() >> >> $ python >

Re: [Cython] Bindings performance issue

2011-06-01 Thread Robert Bradshaw
On Wed, Jun 1, 2011 at 7:26 AM, Vitja Makarov wrote: > 2011/6/1 mark florisson : >> On 31 May 2011 20:25, Vitja Makarov wrote: >>> Hi! >>> >>> Is bindings performance issue valuable? >>> >>> $ cat bindbench.pyx >>> def wo_bindings(): >>>    pass >>> >>> def outer(): >>>    def inner(): >>>