Optimize log filter matching and trigger allocation (#6419)
* chain/ethereum: Use O(1) edge lookup in EthereumLogFilter Replace all_edges() linear scan with contains_edge() and edge_weight() in matches() and requires_transaction_receipt(). * chain/ethereum: Pre-allocate triggers Vec in parse_log_triggers Replace flat_map(...).collect() with explicit loops and a pre-sized Vec to avoid repeated reallocations.
K
Krishnanand V P committed
c1fc51a2fcbd208846cbec1ff519c02c6ff66f26
Parent: 5492235
Committed by GitHub <noreply@github.com>
on 3/5/2026, 5:14:30 AM