nimbus-eth2/beacon_chain
Jacek Sieka f77548310f
avoid quadratic attestation queue iteration (#5288)
every attestation is processed with a new wall time so we end up
iterating over all attestations for every attestation we queue - this is
4% of cpu time on a subscribe-all-subnets node

* remove redundant zero checks - block root must be an existing block
and therefore cannot be zero
* simplify "hasn't-voted" check to root only (isZeroMemory is dubiously
implemented for objects)
2023-08-14 16:48:30 +03:00
..
2023-08-11 00:15:34 +00:00
2023-06-08 13:42:19 +00:00
2022-04-08 16:22:49 +00:00
2023-07-19 15:35:49 +03:00