Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove hand-coded UniValue destructor.
When the hand-written destructor is removed, the compiler will automatically create a proper one, with correct `noexcept`. This allows `std::vector<UniValue>` to be resized without having to copy all elements first, which makes JSON generation of a bitcoin block (as in the benchmark "BlockToJsonVerbose") 25% faster on my machine.
- Loading branch information