in reply to it takes 1-2 seconds to return a string from a subrountine
You're copying the array and iterating over it in perl, and both could kill you if your array has a large number of elements, even if each element is small.sub getString { return join "",@_; }
|
|---|