Closed laeubi closed 11 months ago
@hierynomus I'm not sure if there are any performance tests but while profiling my application I noticed that most time is spend on reading from the socket so I would assume this can increase performance here.
Thanks, I've fixed the styling issue detected, and approved and merged the PR.
Currently the read from the socket is not buffered what can slow down reading bytes by byte.
This wraps the input stream in the PacketReader in a BufferedInputStream to read larger chuncks of data to improve performance.