Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 11:51:20 +0000
From:      Holger Kipp <Holger.Kipp@alogis.com>
To:        kris@obsecurity.org, des@des.no
Cc:        current@freebsd.org
Subject:   Re: perl malloc slow?
Message-ID:  <200401141151.i0EBpPY94333@alogis.com>

next in thread | raw e-mail | index | archive | help


Kris Kennaway (kris@obsecurity.org) 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.<mumble> (8?)

As I now know, at least the perl(5.8.2) port is build with perl malloc as
default.

Sorry for starting this thread - but I learned a lot about malloc this way ;-)
and with perl v5.8.2 performance is very good again!

Thanx for all who replied!


Regards,
Holger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401141151.i0EBpPY94333>