[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: zero-copy read() into Lua string?
- From: Miles Bader <miles@...>
- Date: Mon, 10 Jan 2011 13:12:26 +0900
On Mon, Jan 10, 2011 at 1:02 PM, Miles Bader <email@example.com> wrote:
> I read really big files (~500GB) into Lua strings (for parsing with
> lpeg), and it was annoying to do this without thrashing on systems with
> only 1GB physical memory.
Er, that should be "500MB" ! (so I guess maybe "big file" is more
accurate than "really big file")
Cat is power. Cat is peace.