From: <jso...@li...> - 2012-11-21 10:22:23
|
Hi, ALL I have a doubt that the function std::string valueToString( double value) for example , return std::string that will call copy construct function. . As we all know , this is Low performance. If we serialize a large Json Value recursively, that will be expensive. So why don't we change the interface to . bool valueToString( double value, std::string& ret), return the value by reference. Thanks all. . Jianghua Yang 2012/9/25 |