Details
Description
A few of the critical code paths in jsonify involve unnecessary temporary string construction and copies (inherited from the JSON::*). For example, strings::trim is used to remove trailing 0s from printing double. We print double a lot, and therefore constructing a temporary std::string on printing of every double is extremely costly. This ticket captures the work involved in avoiding them.