[Cython] Bindings performance issue

2011-05-31 Thread Vitja Makarov
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_bindings()', setup='from bindbench import wo_bindings, >>> with_bin

Re: [Cython] [GSoC] Blog post regarding the Cython backend aiming PyPy

2011-05-31 Thread Romain Guillebert
On Tue, May 31, 2011 at 12:08:52PM +0200, mark florisson wrote: > Cool. Would it be useful to always generate wrapper functions for > extern functions with numeric argument types? E.g. this is valid > Cython code: > > cdef extern from "foo.h": > ctypedef unsigned int size_t > size_t func_w

Re: [Cython] wiki.cython.org is down

2011-05-31 Thread William Stein
Fixed. On Mon, May 30, 2011 at 10:34 PM, Vitja Makarov wrote: > With error: > > Service Temporarily Unavailable > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later. > > > -- > vitja. >

Re: [Cython] local variable handling in generators

2011-05-31 Thread Dag Sverre Seljebotn
On 05/31/2011 01:07 PM, Vitja Makarov wrote: 2011/5/24 Stefan Behnel: Vitja Makarov, 23.05.2011 21:33: 2011/5/23 Stefan Behnel: However, once we really know which values change between yield calls, i.e. which ones need to be stored away, it will actually be less expensive in most cases. We c

Re: [Cython] local variable handling in generators

2011-05-31 Thread Vitja Makarov
2011/5/24 Stefan Behnel : > Vitja Makarov, 23.05.2011 21:33: >> >> 2011/5/23 Stefan Behnel: >>> >>> However, once we really know which values change between yield calls, >>> i.e. >>> which ones need to be stored away, it will actually be less expensive in >>> most cases. We currently pay the indire

Re: [Cython] [GSoC] Blog post regarding the Cython backend aiming PyPy

2011-05-31 Thread mark florisson
On 30 May 2011 23:31, Romain Guillebert wrote: > Hi > > I've posted and article on my blog that explains what I've done during > the community bonding period and the first week of the Google Summer of > Code : > http://rguillebert.blogspot.com/2011/05/cython-backend-aiming-pypy-week-1.html > > Che