Aliaksandr Valialkin
|
435506b223
|
wip
|
2024-05-13 23:44:44 +02:00 |
|
Aliaksandr Valialkin
|
812dfd9465
|
wip
|
2024-05-13 23:25:29 +02:00 |
|
Aliaksandr Valialkin
|
f0c48e35d3
|
wip
|
2024-05-13 22:56:22 +02:00 |
|
Aliaksandr Valialkin
|
14a7a3e8e4
|
Merge branch 'public-single-node' into victorialogs-wip
|
2024-05-12 11:42:53 +02:00 |
|
Aliaksandr Valialkin
|
590160ddbb
|
lib/slicesutil: add helper functions for setting slice length and extending its capacity
The added helper functions - SetLength() and ExtendCapacity() - replace error-prone code with simple function calls.
|
2024-05-12 11:32:17 +02:00 |
|
Aliaksandr Valialkin
|
5556dda356
|
wip
|
2024-05-11 03:13:34 +02:00 |
|
Aliaksandr Valialkin
|
8b4d4e00bc
|
wip
|
2024-05-11 02:42:11 +02:00 |
|
Aliaksandr Valialkin
|
d098d5d1ea
|
wip
|
2024-05-11 02:13:05 +02:00 |
|
Aliaksandr Valialkin
|
93c0cffda6
|
wip
|
2024-05-11 02:04:55 +02:00 |
|
Aliaksandr Valialkin
|
d724da794f
|
wip
|
2024-04-28 22:03:27 +02:00 |
|
Aliaksandr Valialkin
|
55b5c13839
|
lib/encoding: follow-up for 49e3665d6d
Improve performance for typical cases of varint marshaling / unmarshaling further.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5721
|
2024-02-01 05:37:40 +02:00 |
|
Fuchun Zhang
|
49e3665d6d
|
make encoding.MarshalVarInt64s faster (#5721)
* make encoding.MarshalVarInt64s faster
* add fast path for MarshalVarInt64s
* make UnmarshalVarUint64s faster
* remove comment
|
2024-02-01 05:34:37 +02:00 |
|
Aliaksandr Valialkin
|
8fb8b71295
|
lib/encoding: remove uneeded re-slicing of byte slice before passing it to binary.BigEndian.Uint*
|
2024-01-23 22:50:29 +02:00 |
|
Aliaksandr Valialkin
|
497ec3f3e6
|
lib/encoding: add MarshalBool/UnmarshalBool and GetUint32s/PutUint32s functions
These functions are going to be used by VictoriaLogs
|
2023-06-19 22:40:55 -07:00 |
|
Aliaksandr Valialkin
|
c6eb404c69
|
lib/encoding: explicitly set slice length passed to binary.BigEndian.Uint*
This allows Go complier to generate more optimal code without bound checks
|
2022-04-12 12:55:21 +03:00 |
|
Aliaksandr Valialkin
|
d5dddb0953
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:05:11 +03:00 |
|
Aliaksandr Valialkin
|
68722c3c74
|
lib/encoding: optimize UnmarshalUint* and UnmarshalInt*
|
2019-09-20 13:08:16 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|