[pypy-dev] Before I start hacking on numpy

Alex Gaynor alex.gaynor at gmail.com
Tue Sep 20 20:35:04 CEST 2011

On Tue, Sep 20, 2011 at 2:02 PM, Justin Peel <peelpy at gmail.com> wrote:

> There are a few things to be done before we start on a
> multi-dimensional array. First, we need to do some refactoring to get
> all of the 1D parts out of BaseArray and into the SingleDimArray
> class. Also, we need to decide if we want to keep single dimensional
> arrays as a specialized case or just use the same multi-dimensional
> array for everything. We can also consider adding a 2D class as well.
> Personally, I think that we should do the refactoring, implement a
> multi-dim array while keeping the 1D array for now, and compare the
> performance of using the multi-dim array for 1D arrays vs. using the
> SingleDimArray class.
> On Tue, Sep 20, 2011 at 2:26 AM, matti picus <matti.picus at gmail.com>
> wrote:
> > I would really love to have 2 dimensional matrices in micronumpy, and am
> > willing to donate some hours of coding. There seems to be a number of
> > "heads" on the mercurial tree that use numpy in their keyword. Can anyone
> > give me pointer as to what branch (maybe just tip?) would be the
> recommended
> > one to continue with? Any coding guidelines?
> > My goal is to get to an implementation of inverse on a smallish (5x5
> matrix)
> > so I can build some useful code.
> > Matti
> > _______________________________________________
> > pypy-dev mailing list
> > pypy-dev at python.org
> > http://mail.python.org/mailman/listinfo/pypy-dev
> >
> >
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev

Personally I think just having a single ndimarray is going to be the same
for performance, and since this work should happen on a branch it'd be
preferable to do it that way, we can still compare cross-branch.


"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20110920/15e7cf4e/attachment.html>

More information about the pypy-dev mailing list