README ¶Expand ▾ Collapse ▴
Package pargzip contains a parallel gzip writer implementation. By compressing each chunk of data in parallel, all the CPUs on the machine can be used, at a slight loss of compression efficiency.
A Writer is an io.WriteCloser. Writes to a Writer are compressed and written to w.
Any exported fields may only be mutated before the first call to Write.
NewWriter returns a new Writer. Writes to the returned writer are compressed and written to w.
It is the caller's responsibility to call Close on the WriteCloser when done. Writes may be buffered and not flushed until Close.
Any fields on Writer may only be modified before the first call to Write.