Package: golang-github-philhofer-fwd-dev (1.1.1-1)
Links for golang-github-philhofer-fwd-dev
Download Source Package golang-github-philhofer-fwd:
- Homepage [github.com]
The fwd package provides a buffered reader and writer. Each has methods that help improve the encoding/decoding performance of some binary protocols.
The fwd.Writer and fwd.Reader type provide similar functionality to their counterparts in bufio, plus a few extra utility methods that simplify read-ahead and write-ahead. I wrote this package to improve serialization performance for http://github.com/philhofer/msgp, where it provided about a 2x speedup over bufio. However, care must be taken to understand the semantics of the extra methods provided by this package, as they allow the user to access and manipulate the buffer memory directly.