[Shootout-list] Re: Clean strcat not "the same way"

Brent A. Fulgham bfulgham@debian.org
Sun, 13 Jun 2004 17:02:09 -0700


Isaac Gouy wrote:

>Humbly suggest that the Clean implementation of "String Concatenation" is not following the instructions on how to do the benchmark.
>
>"should not pre-allocate the entire buffer necessary to hold the resultant string, but should grow the string buffer as necessary"
>
>It creates a list of strings, and then does a one-time array allocation large enough to hold all of the chars in all of the strings.
>
>  
>
Agreed.  Changed to your implementation.

Thanks,

-Brent