X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 3CE90D1E947 for ; Thu, 15 Apr 2004 23:27:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 00702-07 for ; Thu, 15 Apr 2004 23:27:20 -0300 (ADT) Received: from smtp.istop.com (dci.doncaster.on.ca [66.11.168.194]) by svr1.postgresql.org (Postfix) with ESMTP id 6C85CD1E1F3 for ; Thu, 15 Apr 2004 23:27:12 -0300 (ADT) Received: from stark.xeocode.com (gsstark.mtl.istop.com [66.11.160.162]) by smtp.istop.com (Postfix) with ESMTP id DF7C217C33C; Thu, 15 Apr 2004 22:27:21 -0400 (EDT) Received: from localhost ([127.0.0.1] helo=stark.xeocode.com) by stark.xeocode.com with smtp (Exim 3.36 #1 (Debian)) id 1BEJ4b-0003ch-00; Thu, 15 Apr 2004 22:27:21 -0400 To: "Joshua D. Drake" Cc: Geoffrey , Greg Stark , Bruno Wolff III , Simon Riggs , Josh Berkus , pgsql-performance@postgresql.org Subject: Re: PostgreSQL and Linux 2.6 kernel. References: <200404050836.52115.josh@agliodbs.com> <20040415172059.GA15119@wolff.to> <873c74c46o.fsf@stark.xeocode.com> <407F0B57.9040206@3times25.net> <407F31D6.6010104@commandprompt.com> In-Reply-To: <407F31D6.6010104@commandprompt.com> From: Greg Stark Organization: The Emacs Conspiracy; member since 1992 Date: 15 Apr 2004 22:27:20 -0400 Message-ID: <87wu4gac8n.fsf@stark.xeocode.com> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/200 X-Sequence-Number: 6500 "Joshua D. Drake" writes: > > while($howmany--) { push @morepgGurus, $pgGuru; } > > This is just wrong... yeah, it would have been much clearer written as: push @morepgGurus, ($pgGuru)x$howmany; Or at least the perlish: for (1..$howmany) instead of C style while syntax. Ok. I stop now. -- greg