Aliaksandr Valialkin
|
8dd73574ca
|
lib/encoding: remove uneeded re-slicing of byte slice before passing it to binary.BigEndian.Uint*
|
2024-01-23 22:50:11 +02:00 |
|
Aliaksandr Valialkin
|
4c80193a86
|
lib/encoding: add MarshalBool/UnmarshalBool and GetUint32s/PutUint32s functions
These functions are going to be used by VictoriaLogs
|
2023-07-06 17:24:52 -07:00 |
|
Aliaksandr Valialkin
|
4a3172f150
|
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:56:52 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
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:33:46 +03:00 |
|
Aliaksandr Valialkin
|
272e2f77c9
|
lib/encoding: optimize UnmarshalUint* and UnmarshalInt*
|
2019-09-20 13:08:24 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|