On 9 Sep, 16:57, pdpi <pdpinhe...@gmail.com> wrote: > Raising this to 1 million, rather than 100, nodes in the window, the > timing difference between your version and NumPy's is tiny (but numpy > still edges you out, but just barely), but they trounce my naive > version, being around 7 or 8 times faster the list comprehension I > suggested.
"Premature optimization is the root of all evil in computer programming." Speed is not the issue here. -- http://mail.python.org/mailman/listinfo/python-list