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
I wrote a tcp server, i use bufio.Writer and bufio.Reader to read and write with a connection, after many connections, the heap objects grows many, if bufio support this, i can reduce 4 objects per connections, the bufio.Writer and bufio.Reader inline with my own struct, and buf i use a big buffer reused by bufio.
I wrote a tcp server, i use
bufio.Writer
andbufio.Reader
to read and write with a connection, after many connections, the heap objects grows many, if bufio support this, i can reduce 4 objects per connections, the bufio.Writer and bufio.Reader inline with my own struct, and buf i use a big buffer reused by bufio.The text was updated successfully, but these errors were encountered: