Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5893
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'numeric': 0.07; 'semantic': 0.07; 'python': 0.08; '21,': 0.09; 'float.': 0.09; "it'd": 0.09; 'programmer': 0.11; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; '"new': 0.16; 'accuracy,': 0.16; 'angelico': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hypothetical': 0.16; 'standard"': 0.16; 'subject:Fibonacci': 0.16; 'sure,': 0.16; 'long,': 0.16; 'awesome': 0.19; 'header:In-Reply-To:1': 0.21; 'happen.': 0.23; 'integer': 0.23; 'unlikely': 0.23; 'fri,': 0.23; "i'm": 0.27; 'message-id:@mail.gmail.com': 0.28; 'problem': 0.28; 'received:209.85.214': 0.28; '(as': 0.29; 'sat,': 0.29; 'steven': 0.32; 'someone': 0.33; 'to:addr:python-list': 0.33; "isn't": 0.33; 'chris': 0.34; 'thinking': 0.34; 'there': 0.35; "d'aprano": 0.35; 'else': 0.35; 'uses': 0.36; 'difference': 0.37; 'too.': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.37; 'accuracy': 0.37; 'extremely': 0.37; 'could': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'should': 0.39; 'said': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'ever': 0.64; 'here': 0.66; 'favour': 0.73; 'promote': 0.78; 'stupid': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=0DrNdcNfuL4vEMYteBxOwUgw1pu3+j1u5H0PsJA+mFE=; b=EtnNvO1rHL2L1XaQqpHSlk1+Cb4X/FUPAyCcy9lQnRYOFoCoLSdzVTCax5CG0PQLDf 74eTfVMTeRxSO0+my1mk3C0okC74owN/fedqI4ckipckP5FbEngu7OfQUmvftxy4fxKS fhT8VUY1aYSoCp6oFi1lYX/2o4/QrHjrTmwh0= |
| DomainKey-Signature | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=FMSsUxnRtjnVrT/66sl53tEn85mn0EXWcA6gvVFBAr9dBgAMJhGJpFW+jNy/os/KaL vktZNpGfu2szQ2AQaT7Q+fGIMdn2HBPzuS+zFLLFBAsOSy9/bbzlB0A622Nd/IQhsA35 uLFOjbjhIRb8c91FDNRCZYc0JGhub0wU60xwk= |
| MIME-Version | 1.0 |
| In-Reply-To | <4dd69fcd$0$29996$c3e8da3$5496439d@news.astraweb.com> |
| References | <108ce447-10fa-4cf7-84ef-440ee18dbfd4@22g2000prx.googlegroups.com> <9d9c163b-14fd-4131-81bb-105c3b97c432@h36g2000pro.googlegroups.com> <mailman.1680.1305651743.9059.python-list@python.org> <4dd59e1e$0$29996$c3e8da3$5496439d@news.astraweb.com> <mailman.1806.1305848281.9059.python-list@python.org> <4dd602ec$0$29996$c3e8da3$5496439d@news.astraweb.com> <mailman.1823.1305871603.9059.python-list@python.org> <IQnBp.7164$4d6.1646@newsfe01.iad> <mailman.1826.1305874451.9059.python-list@python.org> <4dd69fcd$0$29996$c3e8da3$5496439d@news.astraweb.com> |
| Date | Sat, 21 May 2011 10:44:35 +1000 |
| Subject | Re: Faster Recursive Fibonacci Numbers |
| 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.12 |
| 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.1869.1305938678.9059.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1305938679 news.xs4all.nl 49182 [::ffff:82.94.164.166]:58575 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:5893 |
Show key headers only | View raw
On Sat, May 21, 2011 at 3:07 AM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > On Fri, 20 May 2011 16:54:06 +1000, Chris Angelico wrote: > >> If someone has time to kill (as if!), it'd be awesome to get a new >> numeric type that uses bc's code; any other numeric type (int, long, >> float) could autopromote to it, removing the dilemma of which to promote >> out of long and float. Hmm... Python 4.0, 'bc' is the new default >> integer and everything else is a performance optimization? Heh. > > The problem is, it isn't *just* a performance optimization, there is a > semantic difference too. Consider: Sure, but I'm thinking here that the "gold standard" is accuracy, with other types allowing a programmer to forfeit some accuracy in favour of performance. (Oh, and I should have said "new default numeric type".) And, of course, I was thinking in a stupid hypothetical way that's extremely unlikely ever to happen. Chris Angelico
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Faster Recursive Fibonacci Numbers RJB <rbotting@csusb.edu> - 2011-05-17 08:50 -0700
Re: Faster Recursive Fibonacci Numbers Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-17 10:23 -0600
Re: Faster Recursive Fibonacci Numbers rusi <rustompmody@gmail.com> - 2011-05-17 09:25 -0700
Re: Faster Recursive Fibonacci Numbers rusi <rustompmody@gmail.com> - 2011-05-17 09:36 -0700
Re: Faster Recursive Fibonacci Numbers geremy condra <debatem1@gmail.com> - 2011-05-17 10:02 -0700
Re: Faster Recursive Fibonacci Numbers Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2011-05-17 20:19 +0300
Re: Faster Recursive Fibonacci Numbers geremy condra <debatem1@gmail.com> - 2011-05-17 11:56 -0700
Re: Faster Recursive Fibonacci Numbers Wolfram Hinderer <wolfram.hinderer@googlemail.com> - 2011-05-17 14:04 -0700
Re: Faster Recursive Fibonacci Numbers geremy condra <debatem1@gmail.com> - 2011-05-17 14:59 -0700
Re: Faster Recursive Fibonacci Numbers rusi <rustompmody@gmail.com> - 2011-05-17 21:43 -0700
Re: Faster Recursive Fibonacci Numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-19 22:47 +0000
Re: Faster Recursive Fibonacci Numbers Chris Angelico <rosuav@gmail.com> - 2011-05-20 09:37 +1000
Re: Faster Recursive Fibonacci Numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-20 05:58 +0000
Re: Faster Recursive Fibonacci Numbers Chris Angelico <rosuav@gmail.com> - 2011-05-20 16:06 +1000
Re: Faster Recursive Fibonacci Numbers harrismh777 <harrismh777@charter.net> - 2011-05-20 01:26 -0500
Re: Faster Recursive Fibonacci Numbers Chris Angelico <rosuav@gmail.com> - 2011-05-20 16:54 +1000
Re: Faster Recursive Fibonacci Numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-20 17:07 +0000
Re: Faster Recursive Fibonacci Numbers geremy condra <debatem1@gmail.com> - 2011-05-20 11:43 -0700
Re: Faster Recursive Fibonacci Numbers Chris Angelico <rosuav@gmail.com> - 2011-05-21 10:44 +1000
Re: Faster Recursive Fibonacci Numbers Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-05-21 20:49 +1200
Re: Faster Recursive Fibonacci Numbers Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-20 01:26 -0600
Re: Faster Recursive Fibonacci Numbers Ian Kelly <ian.g.kelly@gmail.com> - 2011-05-20 01:32 -0600
Re: Faster Recursive Fibonacci Numbers SigmundV <sigmundv@gmail.com> - 2011-05-20 03:53 -0700
Re: Faster Recursive Fibonacci Numbers geremy condra <debatem1@gmail.com> - 2011-05-19 17:03 -0700
Re: Faster Recursive Fibonacci Numbers Raymond Hettinger <python@rcn.com> - 2011-05-24 16:44 -0700
csiph-web