in reply to Re: Five Ways to Reverse a String of Words (C#, Perl 5, Perl6, Ruby, Haskell)
in thread Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
It’s not about it being faster but more efficient. Each time you concatenate strings you cause new copies of the original string variable to be made.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Five Ways to Reverse a String of Words (C#, Perl 5, Perl6, Ruby, Haskell)
by fergal (Chaplain) on Sep 29, 2008 at 17:55 UTC |
In Section
Meditations