As you use the line only for tab counting, there is no difference between having comment and not, but there is difference between creating an array and using swallow copy, especially for a long strings with a lot of white spaces at the beginning.