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 |
|
Evgenii Stratonikov
|
1f7fe6864d
|
[#229] netmap: make context private
It isn't used anywhere outside of the package.
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
|
2022-05-25 11:02:51 +03:00 |
|
Alex Vanin
|
cdcbaa1677
|
[#168] netmap: Replace pointer slices with non-pointer slices
- []*Replica => []Replica
- []*Selector => []Selector
- []*Filter => []Filter
- []*NetworkParameter => []NetworkParameter
- []*Node => []Node
Also introduces `filter.id()`` function to store filters
in numCache map.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
|
2022-03-15 16:59:59 +03:00 |
|
Evgenii Stratonikov
|
369bd382b3
|
[#42] netmap: move package from neofs-api-go
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
|
2021-10-28 14:50:33 +03:00 |
|