frostfs-sdk-go/netmap
Leonard Lyubich 723ba5ee45 [#227] netmap: Do not use intermediate types for placement
Support preprocessing within the `NodeInfo` type. Provide methods for
placement directly from the `NodeInfo` type. Returns slice of slices of
`NodeInfo` from placement methods of `Netmap`. Remove no longer needed
`Node` and `Nodes` types.

```
name            old time/op    new time/op    delta
ManySelects-12    19.7µs ±14%    15.8µs ±15%  -19.70%  (p=0.000 n=20+20)

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

name            old allocs/op  new allocs/op  delta
ManySelects-12      82.0 ± 0%      81.0 ± 0%   -1.22%  (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 [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +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
context.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
doc.go [#42] netmap: move package from neofs-api-go 2021-10-28 14:50:33 +03:00
filter.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
filter_test.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +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: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
netmap.go [#227] netmap: Do not use intermediate types for placement 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 [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
node_info_test.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +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 [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
selector_test.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +03:00
subnet.go [#227] netmap: Do not use intermediate types for placement 2022-06-15 20:50:32 +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