[Shootout-list] String Concatenation (perl)
Aldo Calpini
dada@perl.it
Mon, 11 Oct 2004 18:22:20 +0200
Greg Buchholz wrote:
> Attached is a shorter and faster version of the "String
> Concatenation" test for perl.
well, no. this version is not compliant with the guidelines, and was
already "refused" by Doug Bagley. see:
http://www.bagley.org/~doug/shootout/bench/strcat/alt/strcat.perl2.perl
(BTW, for the web maintainer: the corresponding page on alioth seems to
be broken).
Doug says: "You can produce repeated strings in Perl via the x operator,
but this program does not really follow the test guideline that the
program should do N individual string concatenations in a loop".
cheers,
Aldo