logoalt Hacker News

franciscoptoday at 9:37 AM0 repliesview on HN

Yes, but I didn't read the full file, I kept the File reference and read the bytes in pages of 10MB IIRC to find all of the line break offsets. Then used those to slice and only read the relevant parts.