28 Oct
2003
28 Oct
'03
10:55 p.m.
On Tue, Oct 28, 2003 at 11:23:18PM +0100, Alex Martelli wrote:
Is that about RW buffers specifically?
No.
Because I _have_ used R/O buffers in production code -- when I had a huge string already in memory, and needed various largish substrings of it at different but overlapping times, without paying the overhead to copy them as slicing would have done.
That's a useful thing to be able to do and the buffer object does it in a safe way. I guess that's part of the reason why the buffer object has managed to survive as long as it has. Neil