Paketti: golang-github-philhofer-fwd-dev (0.0~git20151005.0.8fd9a4b-1)
Links for golang-github-philhofer-fwd-dev
Imuroi lähdekoodipaketti golang-github-philhofer-fwd:
- Kotisivu [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.