Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.199 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.62; '*S*': 0.01; 'python': 0.08; 'rows': 0.16; 'wrote:': 0.16; 'process,': 0.21; 'header:In-Reply-To:1': 0.22; '+0100,': 0.23; 'aug': 0.24; 'thu,': 0.28; 'module': 0.30; 'strings.': 0.30; 'chris': 0.32; 'to:addr:python-list': 0.33; 'header:User-Agent:1': 0.34; 'subject: ?': 0.34; 'hold': 0.35; 'several': 0.37; 'but': 0.37; 'easiest': 0.38; '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; 'url:pl': 0.93 Date: Thu, 11 Aug 2011 15:46:13 +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> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Interia-Antivirus: OK X-EMID: f50afc98 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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: 67 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1313070378 news.xs4all.nl 23939 [2001:888:2000:d::a6]:54347 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11214 On Thu, Aug 11, 2011 at 11:59:31AM +0100, Chris Angelico wrote: >=20 > What may be the easiest way is to do the select in a single process, > then partition it and use the Python multiprocessing module to split > the job into several parts. Then you need only concatenate the handful > of strings. 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 the= m ? Regards Przemyslaw Bak (przemol) ---------------------------------------------------------------- Zarabiasz 4 tys./miesiac? Damy wiecej! Sprawdz >> http://linkint.pl/f2a0f