lighthouse/beacon_node/beacon_chain
Paul Hauner e383ef3e91 Avoid temp allocations with slog (#2183)
## Issue Addressed

Which issue # does this PR address?

## Proposed Changes

Replaces use of `format!` in `slog` logging with it's special no-allocation `?` and `%` shortcuts. According to a `heaptrack` analysis today over about a period of an hour, this will reduce temporary allocations by at least 4%.

## Additional Info

NA
2021-02-04 07:31:47 +00:00
..
src Avoid temp allocations with slog (#2183) 2021-02-04 07:31:47 +00:00
tests Disallow attestation production earlier than head (#2130) 2021-01-20 06:52:37 +00:00
Cargo.toml Simplify enum -> str with strum (#2164) 2021-01-19 06:33:58 +00:00