any benchmark in speed and bytes allocation compared with datadog/zstd etc? #690
Answered
by
klauspost
kolinfluence
asked this question in
Q&A
-
nice work! i did see it from badgerdb etc, seems truly random data, datadog is faster but lesser random this is faster? right? |
Beta Was this translation helpful? Give feedback.
Answered by
klauspost
Nov 14, 2022
Replies: 1 comment
-
Both encoding and decoding buffers are 0 allocs/op, if you provide buffers that can hold the output and you re-use the Encoder/Decoder. Haven't really bothered comparing, but I seem to remember it allocates on each call. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
klauspost
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Both encoding and decoding buffers are 0 allocs/op, if you provide buffers that can hold the output and you re-use the Encoder/Decoder.
Haven't really bothered comparing, but I seem to remember it allocates on each call.