frostfs-node/pkg/local_object_storage/blobovnicza
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
..
blobovnicza.go Rename package name 2023-03-07 16:38:26 +03:00
blobovnicza_test.go [#242] node: Add tracing spans 2023-04-14 10:25:53 +00:00
control.go [#240] logs: Move log messages to constants 2023-04-14 05:06:09 +00:00
delete.go [#242] node: Add tracing spans 2023-04-14 10:25:53 +00:00
errors.go Rename package name 2023-03-07 16:38:26 +03:00
exists.go Rename package name 2023-03-07 16:38:26 +03:00
get.go [#135] get-object: Add tracing spans 2023-04-12 06:52:00 +00:00
get_test.go [#135] get-object: Add tracing spans 2023-04-12 06:52:00 +00:00
id.go [#1523] shard: Store generic storage ID in metabase 2022-08-22 13:14:19 +03:00
iterate.go Rename package name 2023-03-07 16:38:26 +03:00
iterate_test.go Rename package name 2023-03-07 16:38:26 +03:00
put.go Rename package name 2023-03-07 16:38:26 +03:00
sizes.go [#285] blobonicza: Optimize upperPowerOfTwo() 2023-04-26 17:35:11 +03:00
sizes_test.go [#285] blobonicza: Optimize upperPowerOfTwo() 2023-04-26 17:35:11 +03:00