frostfs-node/pkg
Evgenii Stratonikov 1f4061c0e2 [#285] blobonicza: Optimize upperPowerOfTwo()
The real reason is this:
```
pkg/local_object_storage/blobovnicza/sizes.go:36:69
    revive empty-block: this block is empty, you can remove it
```

Didn't want to make this function longer or to add `nolint`, thus this
change. To justify:
```
UpperBound/size=1-8          0.4924n ± 1%   0.2472n ± 2%  -49.80% (p=0.000 n=10)
UpperBound/size=1023-8       0.4936n ± 3%   0.2442n ± 1%  -50.52% (p=0.000 n=10)
UpperBound/size=66560-8      0.8201n ± 2%   0.2436n ± 1%  -70.29% (p=0.000 n=10)
UpperBound/size=41943040-8   6.6900n ± 5%   0.2432n ± 0%  -96.36% (p=0.000 n=10)
geomean                       1.075n        0.2446n       -77.24%
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-04-26 17:35:11 +03:00
..
core [#265] node: Fix after SDK & API-Go version up 2023-04-18 12:09:19 +03:00
innerring [#285] lint: Fix revive/unused-parameter 2023-04-26 17:35:04 +03:00
local_object_storage [#285] blobonicza: Optimize upperPowerOfTwo() 2023-04-26 17:35:11 +03:00
metrics [#164] metrics: Allow to export metrics description 2023-04-24 09:01:13 +00:00
morph [#268] notary_preparator: Actualize notary requests parsing 2023-04-20 10:29:34 +03:00
network [#285] lint: Fix revive/unused-parameter 2023-04-26 17:35:04 +03:00
services [#285] lint: Resolve revive/if-return 2023-04-26 17:35:08 +03:00
util [#238] node: Read cfg from dir even if cfg file not set 2023-04-14 10:19:10 +00:00