[Edu-sig] Properties use case
ajsiegel at optonline.net
Wed Mar 22 14:28:18 CET 2006
> >-----Original Message-----
> >From: Laura Creighton [mailto:lac at strakt.com]
> >We don't -- at least right now -- want to replace these
> >cases where you use numeric because you really need a lot of
> >linear algebra.
Actually, the way I see it, there will be a significant benefit even when
using a library like Numeric for linear algebra
When profiling I was surprised at the time being spent on the calculation of
determinants for my small matrices. Looking at the Numeric code I
understood the issue better. It needs to do a decent amount of processing
just to form the right question for lapack, i.e. it needs to analyze and
understand the array it is processing before it can call the lapack routine.
Which is why I begin to think that within the framework of an application
where I know beforehand, e.g. the size and shape of the array for which I
need a determinant, I would be losing less than I would have guessed by just
up and calculating it in Python.
Either way PyPY will be a win for this kind of processing.
More information about the Edu-sig