diff options
author | Martin Leitner-Ankerl <martin.ankerl@gmail.com> | 2023-03-26 14:40:32 +0200 |
---|---|---|
committer | Martin Leitner-Ankerl <martin.ankerl@gmail.com> | 2023-03-26 15:49:52 +0200 |
commit | bfb9291a8661fe5b26c14ed755cfa89d27c37110 (patch) | |
tree | ea607b8f5cc1305319dec6b60666420e8209dbdb /src/test/fuzz/utxo_snapshot.cpp | |
parent | fffc86f49f4eeb811b8438bc1b7f8d9e05882c6f (diff) |
util: implement prevector's move ctor & move assignment
Using swap() was rather wasteful because it had to copy the whole direct
memory data twice. Also, due to the swap() in move assignment the moved-from
object might hold on to unused memory for longer than necessary.
Diffstat (limited to 'src/test/fuzz/utxo_snapshot.cpp')
0 files changed, 0 insertions, 0 deletions