Thanks, Tomas! Very helpful!
Do you know if it's important to run Flush() on the gzip writer? Frank On Thursday, January 19, 2017 at 12:00:44 AM UTC-5, Tamás Gulácsi wrote: > > The bufio.NewWriter is unneeded here, as both the gzip.Writer and > csv.Writer are buffered. > > The concept of csv.Writer(gzip.Writer(os.File)) is ok. > > Compression is cpu bound, and csv.Writer may need some optimization. > > But first measure, use testing package's benchmark functionality. > > -- 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 https://groups.google.com/d/optout.