#Line by Line or all at once?

1 messages · Page 1 of 1 (latest)

signal spire
#

Is it better to read a file line by line and maybe allicate extra memory for what you need or to read it all at once and work with that?

real glacier
#

Depends on the size of the file + the purpose of reading. Try to default to "all at once" if you can.