[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: zero-copy read() into Lua string?
- From: Axel Kittenberger <axkibe@...>
- Date: Tue, 11 Jan 2011 10:36:53 +0100
> I see that this is how things are in the status quo. My question was
> whether the functions I suggested could be added to Lua's C API, in
> order to avoid the extra copy. Unless I am missing something they
> should be easy to implement and could lead to significant efficiency
> improvements for programs that call file:read() with large files.
How does this work with string interning?