HomePhabricator

Various performance tweaks to CCoinsView
f369d02c5107Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Various performance tweaks to CCoinsView

  • Pass txid's to CCoinsView functions by reference instead of by value
  • Add a method to swap CCoins, and use it in some places to avoid a allocating copy + destruct.
  • Optimize CCoinsViewCache::FetchCoins to do only a single search through the backing map.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Jan 20 2013, 17:05
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING71eccdeafff0: Merge pull request #2213 from Diapolo/translations
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGf369d02c5107: Various performance tweaks to CCoinsView (authored by Pieter Wuille <pieter.wuille@gmail.com>).Jan 26 2013, 17:46