osglworks / java-tool

Some simple common Java utilities
Apache License 2.0
52 stars 18 forks source link

BigLines - Improve performance on sequential access #235

Closed greenlaw110 closed 3 years ago

greenlaw110 commented 4 years ago

When constructing a BigLines instance it will always scan the file and get the line number. See if can delay the line count operation so if we just use it to visit file sequentially, we don't bother with line number counting