VictoriaMetrics/lib/encoding
Fuchun Zhang 78af9b3e30
make encoding.MarshalVarInt64s faster (#5721)
* make encoding.MarshalVarInt64s faster

* add fast path for MarshalVarInt64s

* make UnmarshalVarUint64s faster

* remove comment
2024-02-01 03:33:59 +00:00
..
zstd all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
compress.go lib: dump compressed block contents on error during decompression 2020-08-15 14:51:14 +03:00
compress_test.go lib/encoding: make deterministic tests which rely on math/rand 2023-01-23 18:43:49 -08:00
encoding.go lib/storage: validate timestamps in the block only if they use encoding, which needs validation 2022-10-21 00:54:37 +03:00
encoding_cgo_test.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
encoding_pure_test.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:15:42 +01:00
encoding_test.go lib/encoding: make deterministic tests which rely on math/rand 2023-01-23 18:43:49 -08:00
encoding_timing_test.go lib/encoding: make deterministic tests which rely on math/rand 2023-01-23 18:43:49 -08:00
int.go make encoding.MarshalVarInt64s faster (#5721) 2024-02-01 03:33:59 +00:00
int_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
int_timing_test.go lib/encoding: added benchmarks for marshaling / unmarshaling of varints 2024-02-01 05:11:35 +02:00
nearest_delta.go lib/encoding: substitute 64-bits.LeadingZeros64() with bits.Len64() 2022-02-01 11:20:20 +02:00
nearest_delta2.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
nearest_delta2_test.go lib/encoding: make deterministic tests which rely on math/rand 2023-01-23 18:43:49 -08:00
nearest_delta2_timing_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
nearest_delta_test.go lib/encoding: make deterministic tests which rely on math/rand 2023-01-23 18:43:49 -08:00
nearest_delta_timing_test.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00