json-voorhees
json-voorhees copied to clipboard
value::insert is slow
Inserting into an object using val.insert({ std::move(key), std::move(val) })
is incredibly slow. While things should be moved everywhere, this does not appear to be happening. It is significantly faster to use val[std::move(key)] = std::move(val);