Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.061 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'used.': 0.07; 'am,': 0.13; 'wrote:': 0.15; 'eckhardt': 0.16; 'needless': 0.16; 'range.': 0.16; 'worse,': 0.16; 'header:In-Reply-To:1': 0.22; 'worst': 0.23; '\xa0so': 0.23; 'thu,': 0.28; 'message-id:@mail.gmail.com': 0.28; 'kelly': 0.30; 'subject:number': 0.30; 'actually': 0.33; 'to:addr :python-list': 0.34; 'message.': 0.36; 'another': 0.38; 'received:google.com': 0.38; 'received:209.85.161': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'two': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'your': 0.60; 'below': 0.62; 'further': 0.65; 'yourself': 0.68; 'realized': 0.73 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=7I/0NFlGukLHnm5JMNuux5mOaF5IyeROwU0rUnSrGyg=; b=frskQC6bfSTIsGCFcxX5eZHhChXWIKYR7jpnhPtOaw9XaIuxMriITsFROnwJ6LIeO/ 6AdkjdBbkL0GVC+mcLRh2UAU845ci+GU5FJzHmjElRotQE06HcVB1CIrDNvuK+ab306W tSIpXFxADBiN11aAKBaEQEOoJPgqc1GBCQu9U= MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Thu, 7 Jul 2011 09:50:34 -0600 Subject: Re: Large number multiplication To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1310053865 news.xs4all.nl 21811 [2001:888:2000:d::a6]:35108 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9035 On Thu, Jul 7, 2011 at 9:49 AM, Ian Kelly wrote: > On Thu, Jul 7, 2011 at 2:30 AM, Ulrich Eckhardt > wrote: >> Even worse, most people would actually pay for its use, because they don= 't >> use numbers large enough to merit the Sch=F6nhage=96Strassen algorithm. > > As it stands, Karatsuba is only used for numbers greater than a > specific threshold. =A0Adding Sch=F6nhage=96Strassen would just mean addi= ng > another threshold, below which Karatsuba would still be used. =A0So at > worst it would just add another comparison or two for numbers within > the Karatsuba range. And I just realized that you said as much yourself further down in your message. My apologies for the needless lecturing.