develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Patch to make string-append on win32 100 times faster

Thread Previous | Thread Next
From:
Ben Morrow
Date:
July 30, 2010 08:50
Subject:
Re: Patch to make string-append on win32 100 times faster
Message ID:
20100730154950.GA67474@osiris.mauzo.dyndns.org
Quoth xdaveg@gmail.com (David Golden):
> On Fri, Jul 30, 2010 at 9:37 AM, Wolfram Humann <w.c.humann@arcor.de> wrote:
> > I would like to propose that perl requests an additional amount of memory
> > from realloc when strings grow by a small amount.
> 
> +1 -- though I'm not clear whether this win32 specific or whether all
> operating systems should work this way.

I did some testing when we were discussing this on clpmisc, and found
that at least FreeBSD has the same poor performance as Win32 when perl
is built without -Dusemymalloc. (The issue is much more severe on Win32,
since it's impossible to build with both pseudofork and usemymalloc.)

Ben


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About