src/zippy/snappy

Search:
Group by:
Source   Edit  

Use Snappy's algorithm for encoding repeated data instead of LZ77. This is much faster but does not compress as well. Perfect for BestSpeed. See https://github.com/guzba/supersnappy

Procs

proc encodeSnappy(encoding: var seq[uint16]; ep: var int;
                  metadata: var BlockMetadata; src: ptr UncheckedArray[uint8];
                  blockStart, blockLen: int) {....raises: [], tags: [], forbids: [].}
Source   Edit