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.

Reply via email to