From owner-freebsd-hackers Thu Apr 26 5:48:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id 5EE8137B424 for ; Thu, 26 Apr 2001 05:48:51 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 463B6546B; Thu, 26 Apr 2001 14:48:48 +0200 (CEST) Date: Thu, 26 Apr 2001 14:48:48 +0200 From: Anton Berezin To: Dag-Erling Smorgrav Cc: hackers@freebsd.org Subject: Re: gcc -O bug Message-ID: <20010426144848.B17373@heechee.tobez.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Thu, Apr 26, 2001 at 02:23:49PM +0200 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 26, 2001 at 02:23:49PM +0200, Dag-Erling Smorgrav wrote: > I ran into this bug while analyzing a customer's logs to determine the > best time of day for an upgrade. The original script was in Perl, but > I rewrote it in C because it was too slow. Could you provide the Perl script as well? I am quite sure it can be made to run faster. In fact, it is almost always possible in Perl to closely match the perfomance of a C program for this kind of application. Cheers, \Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message