frostfs-sdk-go/netmap
Leonard Lyubich 9c47fca7c2 [#227] netmap: Pre-calculate resulting slice capacity in flattenNodes
```
name           old time/op  new time/op  delta
ManySelects-12  17.5µs ±27%   15.5µs ±24%  -11.57%  (p=0.024 n=20+20)

name           old alloc/op  new alloc/op  delta
ManySelects-12  9.03kB ± 0%   8.65kB ± 0%  -4.25%  (p=0.000 n=20+20)

name           old allocs/op  new allocs/op  delta
ManySelects-12  86.0 ± 0%     82.0 ± 0%     -4.65%  (p=0.000 n=20+20)
```

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-06-15 20:50:32 +03:00
..
json_tests [#109] netmap: add 1 more test in JSON 2022-01-18 13:50:48 +03:00
test [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
aggregator.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
clause.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
clause_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
container.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
context.go [#229] netmap: make context private 2022-05-25 11:02:51 +03:00
doc.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
filter.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
filter_test.go [#229] netmap: make context private 2022-05-25 11:02:51 +03:00
helper_test.go [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
json_test.go [#227] netmap: Benchmark JSON tests 2022-06-15 20:50:32 +03:00
netmap.go [#227] netmap: Pre-calculate resulting slice capacity in flattenNodes 2022-06-15 20:50:32 +03:00
network_info.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
network_info_test.go [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
node_info.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
node_info_test.go [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
operation.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
operation_test.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
policy.go [#210] subnet: Refactor and document package functionality 2022-06-15 11:52:07 +03:00
policy_test.go [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
replica.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
replica_test.go [#168] netmap: Replace pointer slices with non-pointer slices 2022-03-15 16:59:59 +03:00
selector.go [#257] Upgrade NeoFS API Go module 2022-05-31 09:47:55 +03:00
selector_test.go [#229] netmap: make context private 2022-05-25 11:02:51 +03:00
subnet.go [#210] subnet: Refactor and document package functionality 2022-06-15 11:52:07 +03:00
subnet_test.go [#210] subnet: Refactor and document package functionality 2022-06-15 11:52:07 +03:00
Tests.md [#109] netmap: describe JSON test format 2022-01-18 13:06:25 +03:00