[pypy-dev] C-based numpy's nonzero() has the same performance as its vanilla Python implementation running pypy

2011-09-03 Thread Valery Khamenya
isn't that cool? my 1-dimensional vanilla Python implementation was: lambda v: [i for i,e in enumerate(v) if e != 0] best regards -- Valery A.Khamenya ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] your thoughts on low level optimizations

2011-09-03 Thread Gertjan van Zwieten
Hi Armin > I would say that in this case, keeping your module in C with a > C-friendly API is the most future-proof solution I can think of. That > means so far --- with today's tools --- that you need to wrap it > twice, as a CPython C extension module and as a pure Python ctypes, in > order to

Re: [pypy-dev] PyCON Finland has just announced its opening

2011-09-03 Thread Laura Creighton
In a message of Sat, 03 Sep 2011 13:53:26 +0200, Armin Rigo writes: >Hi Laura, > >On Fri, Sep 2, 2011 at 4:31 PM, Laura Creighton wrote: >> It's not that far away for some of us, Finland is beautiful, and they >> still have space for talks and sprints. > >I appreciate the "bait" factor in this mes

Re: [pypy-dev] PyCON Finland has just announced its opening

2011-09-03 Thread Armin Rigo
Hi Laura, On Fri, Sep 2, 2011 at 4:31 PM, Laura Creighton wrote: > It's not that far away for some of us, Finland is beautiful, and they > still have space for talks and sprints. I appreciate the "bait" factor in this message :-) But as importantly, I think that you should tell this list about