4 ms·
Show HN: HTTP/2 HPACK Compression Go Library
- mappu 11y agoHow does this compare to `net/http2/hpack`, now in the standard library?
- ayanamist 11y agoI think this project is written behind closed doors.
- bradfitz 11y agoGo is developed entirely in the open. I wrote Go's hpack and there are no other Go coworkers in my office.
- chrismoos 11y agoOne of the main differences is this one uses lookup tables for faster decoding of Huffman compressed data as opposed to using a tree (which is what the stdlib one uses). It also offers some additional encoding options for users that want more control of header field indexing.
- Artemis2 11y agoWhy not contribute it to the Go projet, if this version is arguably better than the current implementation?
- bradfitz 11y agoYes, let's get your version into Go if it's better. (I wrote Go's quickly. I've never profiled it, delaying that until Go 1.7, which opened for development yesterday)
- chrismoos 11y agoIf I'd like to get some of the enhancements in there, is this the route to go? https://golang.org/doc/contribute.html https://golang.org/doc/contribute.html
- bradfitz 11y agoYup! That documentation is too daunting IMO but it's complete and not many steps, despite all the words. Especially if you're a Go programmer already. (just go get the code review tool) I'd start with filing a bug against Go to track the overall process.
- tshannon 11y agoThis is why I love open source projects, and shows just how open source Go is. Fantastic.
- deleted 11y ago[deleted]