-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Labels
documentationThe API documentation needs a change.The API documentation needs a change.
Description
The encoders and decoders in this crate are available in three variants: bufread, read, and write. This makes it necessary for users to choose a variant before they can compress or decompress anything.
However, the crate documentation gives almost no indication of what the practical differences are, or why someone would choose one over the others.
- Is one of them a sharp-edged performance hazard?
- Is one of them a “safe” default choice, at the risk of being sub-optimal?
- Given that encoding/decoding is orthogonal to reading/writing, what is the intended use case for each combination?
- What's best for the simple cases of decoding an entire file into memory, or encoding a memory buffer into a file?
Metadata
Metadata
Assignees
Labels
documentationThe API documentation needs a change.The API documentation needs a change.