On Tue, Dec 21, 2010 at 10:09 AM, Benjamin Root <ben.r...@ou.edu> wrote:
>
>
> On Wed, Dec 15, 2010 at 4:47 PM, Justin Peel <jpsc...@gmail.com> wrote:
>
>> I decided to revisit this briefly and found another pretty easy change
>> that gives a fairly significant speed boost for a large number of
>> points. Basically, I just used two list comprehensions instead of
>> looping.
>>
>>
>
> Justin,
>
> I finally had a chance to test this out and it does seem to give a slight
> speedup. It also does make for some cleaner code as well, which is always a
> plus! I still think the main clog, though, is the double for-loops that the
> code is contained in. I will probably take a closer look at it in January
> to see if there is a different way to accomplish the same thing.
>
> Ben Root
>
>
Justin,
I have finally had the chance to make all the commits. There was a slight
modification to your last patch (I made xrange() start at 1 so that ps[i -
1] refers to the first item in ps, not the last). It will not be in the
version 1.0.1 release because I feel that it still needs more testing and
possibly more speed-ups are available. It was committed in r8878 of the
development branch.
Thanks for your efforts!
Ben Root
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel