io.lines() equivalent for better iteration over files #235
Labels
enhancement
New feature or request
pending / needs design
Awaiting design and/or implementation discussion and decisions
Hello, I am currently looking to write some tools with lune that deal with very large files. The only option for opening files is to read the entire thing into a string in memory. This works fine for smaller files, but when the file is gigabytes large (10 GB in my case), it becomes a real issue. If the fs library could open a file pointer and had something like vanilla lua's
io.lines
for iteration, it would solve the cases where reading an entire file into a string isn't feasible.The text was updated successfully, but these errors were encountered: