Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!216.196.98.146.MISMATCH!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.readnews.com!transit3.readnews.com!xlned.com!feeder7.xlned.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: UNSURE 0.302 X-Spam-Level: *** X-Spam-Evidence: '*H*': 0.44; '*S*': 0.05; 'rows': 0.16; 'wrote:': 0.16; 'assume': 0.22; 'header:In-Reply-To:1': 0.22; '+0100,': 0.23; 'indexing': 0.23; 'pm,': 0.24; 'aug': 0.24; 'thu,': 0.28; 'strings.': 0.30; 'chris': 0.32; 'list': 0.32; 'sort': 0.33; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'subject: ?': 0.34; 'hold': 0.35; 'run': 0.37; 'but': 0.37; 'subject:: ': 0.39; 'data': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.63; 'charset:iso-8859-2': 0.66; '11,': 0.68; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'received:pl': 0.84; 'telefon': 0.84; '10000': 0.91; 'url:pl': 0.93 Date: Fri, 12 Aug 2011 09:50:29 +0200 From: przemolicc@poczta.fm To: python-list@python.org Subject: Re: String concatenation - which is the fastest way ? References: <20110810111754.GD5045@host.pgf.com.pl> <20110810133146.GE5045@host.pgf.com.pl> <20110811064030.GB4990@host.pgf.com.pl> <20110811134613.GE4990@host.pgf.com.pl> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Interia-Antivirus: OK X-EMID: 49a0fc98 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Mailman-Approved-At: Fri, 12 Aug 2011 11:02:06 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: przemolicc@poczta.fm 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: 75 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313139727 news.xs4all.nl 23915 [2001:888:2000:d::a6]:33584 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11261 On Thu, Aug 11, 2011 at 02:48:43PM +0100, Chris Angelico wrote: > On Thu, Aug 11, 2011 at 2:46 PM, wrote: > > This is the way I am going to use. > > But what is the best data type to hold so many rows and then operate on= them ? > > >=20 > List of strings. [...] Let's assume I have the whole list in the memory: Can I use this list in the following way ? subprocess_1 - run on list between 1 and 10000 subprocess_2 - run on list between 10001 and 20000 subprocess_3 - run on list between 20001 and 30000 etc ... Can I use sort of indexing on this list ? Regards Przemyslaw Bak (przemol) ---------------------------------------------------------------- Doladuj telefon przez Internet! Sprawdz >> http://linkint.pl/f2a06