You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To check whether two bitfields are disjoint you can use x.intersection(&y).is_empty(), however this allocates a new bitfield (vec-backed). If we can do this calculation without allocating it might improve attestation packing performance in Lighthouse, as this combination of calls is used extensively here:
To check whether two bitfields are disjoint you can use
x.intersection(&y).is_empty()
, however this allocates a new bitfield (vec-backed). If we can do this calculation without allocating it might improve attestation packing performance in Lighthouse, as this combination of calls is used extensively here:https://github.com/sigp/lighthouse/blob/441fc1691b69f9edc4bbdc6665f3efab16265c9b/beacon_node/operation_pool/src/attestation_storage.rs#L128-L132
The text was updated successfully, but these errors were encountered: