X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E885632A137 for ; Fri, 1 Oct 2004 21:40:10 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 50355-08 for ; Fri, 1 Oct 2004 20:40:08 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id F127432A135 for ; Fri, 1 Oct 2004 21:40:07 +0100 (BST) Received: (qmail 31953 invoked by uid 65534); 1 Oct 2004 20:40:07 -0000 Received: from dsl-082-082-235-189.arcor-ip.net (EHLO colt.pezone.net) (82.82.235.189) by mail.gmx.net (mp017) with SMTP; 01 Oct 2004 22:40:07 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: Bruce Momjian , Neil Conway Subject: Re: tweaking MemSet() performance - 7.4.5 Date: Fri, 1 Oct 2004 22:40:03 +0200 User-Agent: KMail/1.5.1 Cc: Karel Zak , Manfred Spraul , mcolosimo@smtp-bedford.mitre.org, Marc Colosimo , List pgsql-hackers References: <200409300147.i8U1l6209508@candle.pha.pa.us> In-Reply-To: <200409300147.i8U1l6209508@candle.pha.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200410012240.03342.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/29 X-Sequence-Number: 59532 Bruce Momjian wrote: > MemSet was written when gcc 2.X wasn't even stable yet. Have you run > any tests on 3.4 to see if MemSet is still a win with that compiler? I've done a test years ago that showed that memset is usually at least as good as MemSet: http://archives.postgresql.org/pgsql-patches/2002-10/msg00085.php -- Peter Eisentraut http://developer.postgresql.org/~petere/