From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 16:41:18 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1578416A4CE; Thu, 8 Jan 2004 16:41:18 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-67-119-53-122.dsl.lsan03.pacbell.net [67.119.53.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F66643D82; Thu, 8 Jan 2004 16:41:08 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0252866E67; Thu, 8 Jan 2004 16:41:07 -0800 (PST) Date: Thu, 8 Jan 2004 16:41:07 -0800 From: Kris Kennaway To: Dag-Erling Sm?rgrav Message-ID: <20040109004107.GA64107@xor.obsecurity.org> References: <200401061129.i06BTAY75957@alogis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i cc: stable@freebsd.org cc: current@freebsd.org Subject: Re: perl malloc slow? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2004 00:41:18 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 08, 2004 at 11:41:19AM +0100, Dag-Erling Sm?rgrav wrote: > Holger Kipp writes: > > Searching on the internet gave the impression that this might be > > malloc/FreeBSD related. Any chance of this being resolved? >=20 > 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?) Kris --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE//fijWry0BWjoQKURAphOAJ9gmOtOiBQFUQEIgX4u5BGD7gLxkQCgzF6s YwV6qtAipLSoKaGmejH5E1k= =6MTp -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--