Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50985

Re: How can I make this piece of code even faster?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.96; '*S*': 0.01; 'anyway.': 0.05; '21,': 0.07; 'subject:code': 0.07; 'subject:How': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:make': 0.16; 'surprising': 0.16; 'wrote:': 0.18; 'result.': 0.19; 'solution.': 0.20; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:?': 0.36; 'to:addr:python-list': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'worth': 0.66; 'jul': 0.74; 'subject:this': 0.83; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=fHlwwnNsbJ5JHz5ynca/EfuxXTGsD3TZSNqtLMtS9NM=; b=fbsFavyjFFBr+PJQTzr7Mfb5srrk6Lb9u9xZHAWjKLbwKvZrcUjCA6WcTDQJhysTjC 8i916p/ztGW5DcowstjKcZLJkO5cXTVSMQdN97nNRAwFsv8nQKiTZLL7OZ8gLEu4H3fA u7pxEoFXf3liZTGnWVpsAX8Q13iX0My6CAVL290V+varv/5xflMbzrBVhUVrzSMWt2FO EJfGV+yo2HtX13FY6QCfntnomd1/rt0K5Qf02YQOgcyrmCP+Y6UWM6w9vK6LBZ7Me2cA RqgxTDD4SKC42fAjjEaXYJbypG+jZtCAS19GGOoy7azUmdTVO60mya2NvQG6lQgu1AEC txXA==
MIME-Version 1.0
X-Received by 10.52.120.77 with SMTP id la13mr6341603vdb.23.1374362982305; Sat, 20 Jul 2013 16:29:42 -0700 (PDT)
In-Reply-To <f7c0eeac-73c1-4681-93c0-3cb2ceac4678@googlegroups.com>
References <6bf4d298-b425-4357-9c1a-192e6e6cd9f0@googlegroups.com> <f7c0eeac-73c1-4681-93c0-3cb2ceac4678@googlegroups.com>
Date Sun, 21 Jul 2013 09:29:42 +1000
Subject Re: How can I make this piece of code even faster?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4935.1374362990.3114.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374362990 news.xs4all.nl 15952 [2001:888:2000:d::a6]:36135
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50985

Show key headers only | View raw


On Sun, Jul 21, 2013 at 9:24 AM,  <pablobarhamalzas@gmail.com> wrote:
> Hi there Chris.
> Unfortunately, using iterations was about twice as slow as the original implementation, so that's not the solution.
> Thank's anyway.

Fascinating! Well, was worth a try anyhow. But that's a very surprising result.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How can I make this piece of code even faster? pablobarhamalzas@gmail.com - 2013-07-20 13:22 -0700
  Re: How can I make this piece of code even faster? Fabio Zadrozny <fabiofz@gmail.com> - 2013-07-20 18:05 -0300
  Re: How can I make this piece of code even faster? Roy Smith <roy@panix.com> - 2013-07-20 17:25 -0400
  Re: How can I make this piece of code even faster? pablobarhamalzas@gmail.com - 2013-07-20 15:45 -0700
  Re: How can I make this piece of code even faster? Chris Angelico <rosuav@gmail.com> - 2013-07-21 08:55 +1000
  Re: How can I make this piece of code even faster? pablobarhamalzas@gmail.com - 2013-07-20 16:24 -0700
    Re: How can I make this piece of code even faster? Chris Angelico <rosuav@gmail.com> - 2013-07-21 09:29 +1000
  Re: How can I make this piece of code even faster? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-21 05:11 +0000
    Re: How can I make this piece of code even faster? Paul Rudin <paul.nospam@rudin.co.uk> - 2013-07-21 08:11 +0100
      Re: How can I make this piece of code even faster? Chris Angelico <rosuav@gmail.com> - 2013-07-21 19:21 +1000
  Re: How can I make this piece of code even faster? Peter Otten <__peter__@web.de> - 2013-07-21 09:10 +0200
  Re: How can I make this piece of code even faster? Serhiy Storchaka <storchaka@gmail.com> - 2013-07-21 10:11 +0300
  Re: How can I make this piece of code even faster? Christian Gollwitzer <auriocus@gmx.de> - 2013-07-21 09:24 +0200
  Re: How can I make this piece of code even faster? pablobarhamalzas@gmail.com - 2013-07-21 03:19 -0700
    Re: How can I make this piece of code even faster? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-21 10:31 +0000
      Re: How can I make this piece of code even faster? pablobarhamalzas@gmail.com - 2013-07-21 03:48 -0700
        Re: How can I make this piece of code even faster? Stefan Behnel <stefan_ml@behnel.de> - 2013-07-21 14:49 +0200
      Re: How can I make this piece of code even faster? Chris Angelico <rosuav@gmail.com> - 2013-07-21 20:48 +1000
    Re: How can I make this piece of code even faster? Michael Torrie <torriem@gmail.com> - 2013-07-21 09:27 -0600
  Re: How can I make this piece of code even faster? Joshua Landau <joshua@landau.ws> - 2013-07-21 12:39 +0100

csiph-web