frostfs-node/pkg/services
Evgenii Stratonikov 15102e6dfd [#1471] Replace sort.Slice in some places
`slices.SortFunc` doesn't use reflection and is a bit faster.
I have done some micro-benchmarks for `[]NodeInfo`:
```
$ benchstat -col "/func" out
goos: linux
goarch: amd64
pkg: git.frostfs.info/TrueCloudLab/frostfs-node/pkg/local_object_storage/pilorama
cpu: 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
       │ sort.Slice  │           slices.SortFunc           │
       │   sec/op    │   sec/op     vs base                │
Sort-8   2.130µ ± 2%   1.253µ ± 2%  -41.20% (p=0.000 n=10)
```

Haven't included them, though, as they I don't see them being used a
lot.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-11-06 08:07:32 +00:00
..
accounting [#1206] audit: Drop not required events 2024-06-27 10:54:31 +00:00
apemanager [#1184] node: Add audit middleware for grpc services 2024-06-19 16:05:53 +03:00
common/ape [#1368] *: Run gofumpt 2024-09-12 10:00:28 +03:00
container [#1448] container/ape: Ignore an error when getting a role 2024-10-30 12:51:57 +03:00
control [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
netmap [#1439] node: Reduce usage of netmapAPI.NodeInfo 2024-10-29 08:05:09 +00:00
object [#1465] Makefile: Update golangci-lint, fix warnings 2024-10-31 06:39:59 +00:00
object_manager [#1439] object: Sort nodes by priority metrics to compute GET request 2024-10-29 08:05:09 +00:00
policer [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
replicator [#1412] engine: Add IsIndexedContainer flag 2024-10-08 11:41:49 +03:00
session [#1388] sessionSvc: Add nolint annotations 2024-09-25 08:55:38 +00:00
tree [#1471] Replace sort.Slice in some places 2024-11-06 08:07:32 +00:00
util [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00