develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [PATCH 5.8.2 @21574] sprintf() painfully slow

Thread Previous
From:
Rafael Garcia-Suarez
Date:
November 9, 2003 10:38
Subject:
Re: [PATCH 5.8.2 @21574] sprintf() painfully slow
Message ID:
20031109194503.2fd0ae77.rgarciasuarez@free.fr
Ilya Zakharevich wrote:
> On Mon, Nov 03, 2003 at 08:27:39PM -0800, Ilya Zakharevich wrote:
> > I do not know whether the fact that an operation is an order of magnitude
> > slower than it must be should be considered a bug...
> > 
> > This patch speeds up rounding-to-integer (which is "%.0f") about 15x,
> > and g-format sprintf() about 1.5x.
> 
> Actually, this version had a buffer overrun (due to cut & paste from a place
> where buffer was correctly prepared) possibility.

Thanks, both patches applied to bleadperl as #21694.

Thread Previous


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