|
From: Benjamin R. <ben...@ou...> - 2010-12-21 16:09:33
|
On Wed, Dec 15, 2010 at 4:47 PM, Justin Peel <jp...@gm...> 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 |