Damian Gryski

Results 261 comments of Damian Gryski

https://github.com/dgryski/go-bloomindex/blob/master/asm.go

Also did https://github.com/dgryski/trifles/blob/master/tsip/go/asm.go (not on the list)

https://github.com/dgryski/go-chaskey/blob/master/asm.go Notable in this one is the `loop` helper type. ``` type loop string var loops int func newLoop(name string) loop { loops++ if name == "" { name =...

I'm not sure using `cap` here actually makes sense from an API point of view, although I agree it does from a performance perspective. The space between `len()` and `cap()`...

I agree `sync.Pool()` will help here. Please send a PR.

The io.Reader/io.Writer interface was removed in https://github.com/bkaradzic/go-lz4/commit/5298eaf858a62a1a1195bebb8e280ffca025237d due to bugs and slowness. I agree having a streaming interface would be useful. IIRC, the old C library faked streaming by buffering...

Looks like the streaming format isn't completely implementing in the C lz4 implementation: https://code.google.com/p/lz4/issues/detail?id=42

Leaving this open as a reminder to put back the streaming support.

http://fastcompression.blogspot.fr/2014/05/streaming-api-for-lz4.html

Spec has been finalised. I'll add it nearer the top of my todo list.