openethereum/ethcore/executive-state
David 8572d612a7
Faster kill_garbage (#11514)
* Faster kill_garbage

Benchmark shows that almost half the time `apply()`-ing a transaction is spent in garbage collection. This PR avoids visiting each cache item and `collect()`-ing accounts to clean up.

* Walk back panicking behaviour

* Review grumble: prefer `and_then` to `if let`
2020-02-27 13:56:48 +01:00
..
benches Add benchmark for transaction execution (#11509) 2020-02-25 11:25:02 +01:00
src Faster kill_garbage (#11514) 2020-02-27 13:56:48 +01:00
Cargo.toml Add benchmark for transaction execution (#11509) 2020-02-25 11:25:02 +01:00