diff options
| author | MarcoFalke <[email protected]> | 2017-11-10 14:22:36 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-11-10 14:22:45 -0500 |
| commit | 05a761932edd05cf94ffe938908baf058f38632a (patch) | |
| tree | 793cc2adc18abbda31ebb43a3d9974d7bc24d415 /src/script/script.cpp | |
| parent | Merge #11623: tests: Add missing locks to tests (diff) | |
| parent | Small refactor of CCoinsViewCache::BatchWrite() (diff) | |
| download | discoin-05a761932edd05cf94ffe938908baf058f38632a.tar.xz discoin-05a761932edd05cf94ffe938908baf058f38632a.zip | |
Merge #11353: Small refactor of CCoinsViewCache::BatchWrite()
5b9748f97 Small refactor of CCoinsViewCache::BatchWrite() (Dan Raviv)
Pull request description:
`std::unordered_map::erase( const_iterator pos )` returns an iterator to the element following the removed one. Use that to optimize (probably minor-performance-wise, and definitely code-structure-wise) the implementation of `CCoinsViewCache::BatchWrite()`.
Tree-SHA512: 00abc838ad91771cfcddd45688841c9414869b75289d09b483a7f0ba835614fe189e9c8aca8a80e3de78ee397ec14083ae52e2e92b7863b3b6eb0d0cb892c9dd
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions