Hi Yasu,
Thanks for reporting this. I believe the optimization we added for #gsub can
also be used in #split. I see that you filed a ticket, we will follow up there.
Laurent
On Jan 16, 2011, at 10:12 AM, Yasu Imao wrote:
> Hi again,
>
> Another String performance issue. Tested on a text file
Hi again,
Another String performance issue. Tested on a text file with 4360 lines (\n)
(different from the one I used with other tests). With these tests, 0.9
nightly is much much slower than 0.8, so I'll file a ticket for 0.9.
Test 1 - File.read("test.txt").split(/\n/)
Test 2 - File.read("te