d555230013
When using `framingFormatCompress`, the given payload is compressed to determine whether its compressed form is shorter than its raw form. For short payloads the Snappy compression will never be shorter, so it is not necessary to compress such payloads. Instead, short payloads can always be treated as uncompressable data. This patch optimizes for that. |
||
---|---|---|
.. | ||
crc32c.c | ||
encoder.nim | ||
framing.nim | ||
framing_format.txt | ||
types.nim |