Stephen R. van den Berg wrote:
The actual reason I beefed up Buffer a bit lately is *because* I need to do some protocol decoding of a byte stream.
Now I see IOBuffer arrive. In order to avoid code bloat, wouldn't it be a better idea to integrate the functionality of IOBuffer into Buffer and just keep one? Or is the performance difference so strikingly great that this sounds like a bad idea?
Ideally, IOBuffer should inherit from String.Buffer, for maximum code reuse.