String Builder vs Lists

前端 未结 5 1933
野的像风
野的像风 2021-01-17 01:19

I am reading in multiple files in with millions of lines and I am creating a list of all line numbers that have a specific issue. For example if a specific field is left bla

5条回答
  •  醉梦人生
    2021-01-17 01:22

    StringBuilder serves your purpose so stick with that, if you ever need the line numbers you can easily change the code then.

提交回复
热议问题