jgarzik / univalue

High performance RAII C++ JSON library and universal value object class
MIT License
55 stars 77 forks source link

Reduce string allocations and copies in UniValue::write() #70

Closed jasonbcox closed 7 months ago

jasonbcox commented 4 years ago

With this patch applied to Bitcoin ABC, we're seeing roughly 4% perf improvements where UniValue is used: https://reviews.bitcoinabc.org/D5982

jasonbcox commented 4 years ago

There were a couple issues that broke the original PR for C++98. I've fixed those now.