[go-nuts] Re: net.Conn.Read() performance

2016-12-01 Thread James Bardin
Conn.Read is a much higher level construct the using the syscalls directly. The largest part of the overhead is coordinating with the network poller. There's also a slight overhead of using the net.Conn interface, so asserting the value to a *net.TCPConn may save you a little (though I'm not

[go-nuts] Re: net.Conn.Read() performance

2016-11-30 Thread antondoe
Any thoughts, anyone? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit