Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> devel >> golang-github-philhofer-fwd-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-philhofer-fwd  ]

套件: golang-github-philhofer-fwd-dev (0.0~git20151005.0.8fd9a4b-1)

Buffered Reader/Writer

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.

下載 golang-github-philhofer-fwd-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.0 kB45 kB [文件列表]