Hi, I have some code to write out a .csv file and then gzip it. I am using a bufio.NewWriter to link the two:
x := gzip.NewWriter(outputFile) outBuf := bufio.NewWriter(x) w := csv.NewWriter(outBuf) It seems slow. Would I be better off just writing first a .csv file to disk and then gzipping it in a separate operation and, if so, why? I would have expected the bufio.NewWriter to be faster because it keeps things in memory rather than on the disk. Thanks! Frank -- 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.