Files
lighthouse/consensus
Paul Hauner 8772c02fa0 Reduce temp allocations in network metrics (#1895)
## Issue Addressed

Using `heaptrack` I could see that ~75% of Lighthouse temporary allocations are caused by temporary string allocations here.

## Proposed Changes

Reduces temporary `String` allocations when updating metrics in the `network` crate. The solution isn't perfect since we rebuild our caches with each call, but it's a significant improvement.

## Additional Info

NA
2020-11-13 04:19:38 +00:00
..
2020-10-05 08:22:19 +00:00
2020-10-05 08:22:19 +00:00
2020-10-05 08:22:19 +00:00