From owner-freebsd-stable@FreeBSD.ORG Fri Jan 9 05:56:35 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B26016A4CE for ; Fri, 9 Jan 2004 05:56:35 -0800 (PST) Received: from eborcom.com (dsl-62-3-122-102.zen.co.uk [62.3.122.102]) by mx1.FreeBSD.org (Postfix) with SMTP id B76A143D3F for ; Fri, 9 Jan 2004 05:56:30 -0800 (PST) (envelope-from tom@FreeBSD.org) Received: (qmail 33628 invoked by uid 1001); 9 Jan 2004 13:56:28 -0000 Date: Fri, 9 Jan 2004 13:56:28 +0000 From: Tom Hukins To: Kris Kennaway Message-ID: <20040109135628.GA33497@eborcom.com> Mail-Followup-To: Tom Hukins , Kris Kennaway , Dag-Erling Sm?rgrav , stable@freebsd.org, current@freebsd.org References: <200401061129.i06BTAY75957@alogis.com> <20040109004107.GA64107@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040109004107.GA64107@xor.obsecurity.org> User-Agent: Mutt/1.4.1i cc: Dag-Erling Sm?rgrav cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 13:56:35 -0000 On Thu, Jan 08, 2004 at 04:41:07PM -0800, Kris Kennaway wrote: > > This is basically a bug in Perl (poor choice of algorithm for growing > > strings). Perl's malloc() implementation knows about and compensates > > for this bug. FreeBSD's malloc() implementation does not. > > I heard someone say it was fixed in perl 5. (8?) http://use.perl.org/comments.pl?sid=15713&cid=24485 suggests it was fixed in Perl 5.8.1. Tom