You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that io.pkts.buffer.InputStreamBuffer has been replaced by io.pkts.buffer.BoundedInputStreamBuffer in all usage. Given how similar the two classes are, does it make sense to delete the vestigial io.pkts.buffer.InputStreamBuffer? If not, can we extract a superclass to reduce duplication?
I ask because I'm poking around with why my code is slow, and it turns out that Buffer.readBytes(int) calls are forwarded all the way down to a low-level Channel that's really inefficient for short reads, so I want to find some place to buffer a few KB.
The text was updated successfully, but these errors were encountered:
It appears that
io.pkts.buffer.InputStreamBuffer
has been replaced byio.pkts.buffer.BoundedInputStreamBuffer
in all usage. Given how similar the two classes are, does it make sense to delete the vestigialio.pkts.buffer.InputStreamBuffer
? If not, can we extract a superclass to reduce duplication?I ask because I'm poking around with why my code is slow, and it turns out that
Buffer.readBytes(int)
calls are forwarded all the way down to a low-levelChannel
that's really inefficient for short reads, so I want to find some place to buffer a few KB.The text was updated successfully, but these errors were encountered: