frostfs-node/pkg/local_object_storage/blobstor/fstree
Evgenii Stratonikov abbecf49d6 [#31] fstree: Speedup string-to-address conversion
```
name                  old time/op    new time/op    delta
_addressFromString-8    1.25µs ±30%    1.02µs ± 6%  -18.49%  (p=0.000 n=9+9)

name                  old alloc/op   new alloc/op   delta
_addressFromString-8      352B ± 0%      256B ± 0%  -27.27%  (p=0.000 n=9+10)

name                  old allocs/op  new allocs/op  delta
_addressFromString-8      6.00 ± 0%      4.00 ± 0%  -33.33%  (p=0.000
n=10+10)
```

Also, assure compiler that `s` doesn't escape:
Before this commit:
```
./fstree.go:74:24: leaking param: s
./fstree.go:90:6: moved to heap: addr
```

After this commit:
```
./fstree.go:74:24: s does not escape
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-02-10 12:49:31 +03:00
..
control.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
fstree.go [#31] fstree: Speedup string-to-address conversion 2023-02-10 12:49:31 +03:00
fstree_test.go [#31] fstree: Speedup string-to-address conversion 2023-02-10 12:49:31 +03:00
generic_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
option.go [#1992] fstree: Allow working in SYNC mode 2022-11-01 09:42:26 +03:00