Closed RCasatta closed 2 years ago
As shown in perf report here https://github.com/rust-bitcoin/bitcoin_hashes/issues/160
in the memory case a lot of time is spent in hashing bitcoin tx, consider having a pipeline stage creating the hash of tx and storing it in the BlockExtra so that following stages could simply use the cached value
Smart!
Done in https://github.com/RCasatta/blocks_iterator/pull/54
As shown in perf report here https://github.com/rust-bitcoin/bitcoin_hashes/issues/160
in the memory case a lot of time is spent in hashing bitcoin tx, consider having a pipeline stage creating the hash of tx and storing it in the BlockExtra so that following stages could simply use the cached value