> @Ben interesting, I did something similar and also ended up with a 64KB
buffer (seemed like the default of 4KB didn't work very well in my
context).  How did you decide of the buffer size?

I forget how I ended up with 64KB. I think I was doing performance testing
and a buffer larger than the 4KB default was faster, but it started
plateauing at around 64KB (and I didn't want to increase the user's memory
footprint too much). I think I did some basic tests, but it wasn't very
scientific.

-Ben

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAL9jXCEhAEAzNv3jNK%3DP7jCLDwLWvE5OSs-ssciz4oTij34sLw%40mail.gmail.com.

Reply via email to