frostfs-api-go-pogpp/netmap
Evgenii Stratonikov 6f4908edc2 [#376] netmap: Make attributes a non-pointer slice
The speed of copying (which is done regulary for e.g. subnet changes)
is less, however it isn't on the hot path and the absolute time
difference is insignificant.
```
name              old time/op    new time/op    delta
NodeAttributes-8    96.2ns ± 1%   158.3ns ± 1%  +64.61%  (p=0.000 n=10+10)

name              old alloc/op   new alloc/op   delta
NodeAttributes-8     32.0B ± 0%     32.0B ± 0%     ~     (all equal)

name              old allocs/op  new allocs/op  delta
NodeAttributes-8      2.00 ± 0%      2.00 ± 0%     ~     (all equal)
```

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-03-15 12:19:49 +03:00
..
grpc [#371] Support recent changes in NeoFS API protocol 2022-02-25 10:24:07 +03:00
test [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00
attributes.go [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00
attributes_test.go [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00
convert.go [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00
json.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
marshal.go [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00
message_test.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
string.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
types.go [#376] netmap: Make attributes a non-pointer slice 2022-03-15 12:19:49 +03:00