[Tutor] Operation Speed Question

Peter Otten __peter__ at web.de
Sat Nov 26 11:05:44 CET 2011

Charles Karl Becker wrote:

> is a link I found concerning optimizing the speed of python code.  Is
> anyone familiar with an article or wiki such as this that may cover the
> changes that took place in Py3K?  And I've heard that the Standard Library
> will discuss the Big O notation for methods etc.  Where do I find the
> comments on this in the docs?  A search for O(1) and O(n) returned nothing
> on python.org,

Did you follow the link from the page you quote to 



> is http://docs.python.org/py3k/library/timeit.html the best
> bet or is there somewhere else to look?

timeit is meant to give you an idea about the performance of small snippets 
of code; to find the bottlenecks in an application there is


More information about the Tutor mailing list