Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.096 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.02; '(especially': 0.07; 'subject:files': 0.09; 'python': 0.11; 'windows': 0.15; 'concur': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:CSV': 0.16; 'wrote:': 0.18; 'tend': 0.24; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; "they'll": 0.31; 'probably': 0.32; 'fri,': 0.33; 'possible.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'useful': 0.36; 'subject:?': 0.36; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'major': 0.40; 'dave': 0.60; 'course': 0.61; 'fortunate': 0.84; 'pain': 0.84; 'angel': 0.91; 'thing,': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KfmcB+beR42uqpMSY6hTa3F0VZevl1ttht+iXKYxPgc=; b=B7I7UB/ifEXPN771s7PTSwHoNzXvgzG2ipoXVr86Q1cyTfssiaNgGz3GnvbVLmtnVi hfl/6tf8qaMmyFo08L3uHP83PTQid5D+BXNECFL9L2wy5enRWjcM9uDepdpZiiPXe6Vi TOv0I5N0XBy20mz9aa3KL8/Sw3hQ+h/Nxn74l5JwxCooXyXPwIOpO1y1fUireSFvsnI6 bY/rYm3iE3nf/dZXHi0YtrDwTtqvIwH+0/yljZG0ZLc2uhcPtMD4acC4K1Sc1m0sQFa9 73jeb5/16hxRzUq/FQLMjJoaz2/VwIGmzF4m83mXnPSyk3fHzhAfK+669NmNH5XvSIsb 9wrg== MIME-Version: 1.0 X-Received: by 10.66.179.143 with SMTP id dg15mr8850290pac.52.1382681617490; Thu, 24 Oct 2013 23:13:37 -0700 (PDT) In-Reply-To: References: <5269e6f6$0$29972$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 25 Oct 2013 17:13:37 +1100 Subject: Re: Processing large CSV files - how to maximise throughput? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1382681626 news.xs4all.nl 15984 [2001:888:2000:d::a6]:50518 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:57495 On Fri, Oct 25, 2013 at 2:57 PM, Dave Angel wrote: > But I would concur -- probably they'll both give about the same speedup. > I just detest the pain that multithreading can bring, and tend to avoid > it if at all possible. I don't have a history of major pain from threading. Is this a Python thing, or have I just been really really fortunate (growing up on OS/2 rather than Windows has definitely been, for me, a major boon)? Generally, I find threads to be convenient, though of course not always useful (especially in serialized languages). ChrisA