frostfs-node/pkg/local_object_storage
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
..
blobovnicza [#1337] blobovniczatree: Add rebuild by fill percent 2024-09-06 13:57:27 +03:00
blobstor [#1459] .golangci.yml: Add intrange linter, fix issues 2024-10-30 15:18:22 +00:00
engine [#1459] .golangci.yml: Add intrange linter, fix issues 2024-10-30 15:18:22 +00:00
internal [#1317] go.mod: Use range over int 2024-09-03 13:00:54 +03:00
metabase [#1431] obj_storage/metabase: Delete unused variable 2024-10-15 08:53:59 +00:00
metrics [#1367] fstree: Add IterateInfo method 2024-09-12 15:06:33 +03:00
pilorama [#1471] Replace sort.Slice in some places 2024-11-06 08:07:32 +00:00
shard [#1459] .golangci.yml: Add intrange linter, fix issues 2024-10-30 15:18:22 +00:00
util [#1103] node: Implement Get\Head requests for EC object 2024-04-24 18:15:53 +03:00
writecache [#1459] .golangci.yml: Add intrange linter, fix issues 2024-10-30 15:18:22 +00:00