title: Performance question: String.split and then walk on the array, or RegExp?
body: <p>I'll do some work on a line separated string. Which one will be faster, to split the text via String.split first and then walk on the resultant array or directly walk the whole text via a reg exp and construct the final array on the way?</p>