Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Neil Cerutti Newsgroups: comp.lang.python Subject: Re: get each pair from a string. Date: 23 Oct 2012 12:30:51 GMT Organization: Norwich University Lines: 12 Message-ID: References: <1a8e1d4b-dddc-48c6-aec8-8041bb559a30@u4g2000pbo.googlegroups.com> <177aa300-9863-44f3-94da-7bc11bff2eda@i7g2000pbf.googlegroups.com> <7fdadf96-2ec2-43c7-a5e2-74228c06faca@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: individual.net 8ohs0iGdQlYPb0W7UwdoPQ1FbUMz5nLuW2QZnP5+jomGXFtG83M7eX4sUrjyOFUEjO Cancel-Lock: sha1:wWVmOdaJVXzwsnK0/kVg3wPRFJY= User-Agent: slrn/0.9.9p1/mm/ao (Win32) Xref: csiph.com comp.lang.python:31928 On 2012-10-23, wxjmfauth@gmail.com wrote: > Why bother with speeed? Because the differences between O(N), O(log(N)) and O(N ** 2) operations are often relevant. A Python string replace function experiencing a slow-down from previous versions doesn't absolve me from making informed choices of algorithm and implentation. -- Neil Cerutti