is it more efficient to read a big file with multiple lines into a string, or directly read the lines from file one a time?

前端 未结 0 588
醉梦人生
醉梦人生 2021-02-14 10:41

I have a text file with 7000 lines of text. (which may not be much in the grand scheme of what our computer can do...). I want to parse the lines into an array.

Just wond

相关标签:
回答
  • 消灭零回复
提交回复
热议问题