Re: perl malloc slow?

From: Holger Kipp <Holger.Kipp_at_alogis.com>
Date: Wed, 14 Jan 2004 11:51:20 +0000
Kris Kennaway (kris_at_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
Received on Wed Jan 14 2004 - 02:51:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC