Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20485
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.05; 'not?': 0.09; 'received:mail-lpp01m010-f46.google.com': 0.09; '25,': 0.12; '16,': 0.15; '46,': 0.16; '58,': 0.16; 'bieber': 0.16; 'cc:addr:python-list': 0.16; 'subject:question': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'cc:2**0': 0.26; 'code,': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'seem': 0.29; 'pm,': 0.29; 'pattern': 0.30; 'chris': 0.30; 'received:209.85.215.46': 0.32; 'lee': 0.34; 'jump': 0.34; 'subject:lists': 0.36; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'plain': 0.39; 'received:209.85.215': 0.39; 'received:209': 0.39; 'series': 0.67; '11,': 0.68; 'dennis': 0.73; '100%': 0.82; '35,': 0.84; 'doubling,': 0.84; 'increases': 0.93 |
| 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 :cc:content-type:content-transfer-encoding; bh=c+OOYwrPdygBKBGv1t4ydC9//FzjWFU4haoss7/EcXw=; b=kYoMMRniSYafiD1Zfel8ZGnpnBqH5/eyT4yXsjAVDHoUTvgVYu/F8tFnJ08zBa7NaB aQIxP7hBi650wy5AmDJORt8tLB4QjU45gq61FZLDkZ1OSRe4cpPqR1Ar5uJ037wFkgCV wCL/QPuqoaX7yDb46IYGXLvlDNdVjXHp/LIt4= |
| MIME-Version | 1.0 |
| In-Reply-To | <dv4oj7l21bq2m8q0vrelnbpdoa6l7b63tk@4ax.com> |
| References | <franck-B0D585.19202115022012@news.free.fr> <CALwzidmOuA7hWxEN+Zoy5oKmf1j7-Lc-xxPrEXmXqdnsx_DnVw@mail.gmail.com> <CAMZYqRQrV2XFQ61==k9Q+K+V2t6HLSQ24CcTbntrrSnocs4NSw@mail.gmail.com> <dv4oj7l21bq2m8q0vrelnbpdoa6l7b63tk@4ax.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Wed, 15 Feb 2012 15:54:27 -0700 |
| Subject | Re: Complexity question on Python 3 lists |
| To | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| 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.5864.1329346498.27778.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1329346498 news.xs4all.nl 6845 [2001:888:2000:d::a6]:44189 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:20485 |
Show key headers only | View raw
On Wed, Feb 15, 2012 at 1:28 PM, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: > On Wed, 15 Feb 2012 11:11:27 -0800, Chris Rebert <clp2@rebertia.com> > wrote: > > >>"The growth pattern is: 0, 4, 8, 16, 25, 35, 46, 58, 72, 88, …" >> -- list_resize() >> > Rather perverse, is it not? The first set is plain doubling, but > then you get a series of increases by: > > ... 9, 10, 11, 12, 14, 16, 16,... > > or > > 100%, 100%, 100%, 56%, 40%, 34%, 30%, 27%, 22%,... > > Big jump form 100% to 56%... Based on the formula in the code, it would seem to asymptotically approach 12.5%.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Complexity question on Python 3 lists Franck Ditter <franck@ditter.org> - 2012-02-15 19:20 +0100 Re: Complexity question on Python 3 lists Chris Rebert <clp2@rebertia.com> - 2012-02-15 10:35 -0800 Re: Complexity question on Python 3 lists Ian Kelly <ian.g.kelly@gmail.com> - 2012-02-15 11:43 -0700 Re: Complexity question on Python 3 lists Dave Angel <d@davea.name> - 2012-02-15 13:45 -0500 Re: Complexity question on Python 3 lists Stefan Behnel <stefan_ml@behnel.de> - 2012-02-15 20:01 +0100 Re: Complexity question on Python 3 lists Chris Rebert <clp2@rebertia.com> - 2012-02-15 11:11 -0800 Re: Complexity question on Python 3 lists Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-02-15 15:28 -0500 Re: Complexity question on Python 3 lists Terry Reedy <tjreedy@udel.edu> - 2012-02-15 16:41 -0500 Re: Complexity question on Python 3 lists Ian Kelly <ian.g.kelly@gmail.com> - 2012-02-15 15:54 -0700 Re: Complexity question on Python 3 lists Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-16 00:41 +0000
csiph-web