perl malloc slow?

Holger Kipp Holger.Kipp at
Wed Jan 14 03:51:38 PST 2004

Kris Kennaway (kris at 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

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!


More information about the freebsd-current mailing list