You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to refactory valueToString(), but I find that it's performance is not very good.
If we consider the performance or efficiency, std::ostringstream() performance is not comparable to std::snprintf(), if we consider the safety or simplicity std::ostringstream() is better than std::snprintf().
Activity
dota17 commentedon Oct 17, 2019
I've tried to refactory valueToString(), but I find that it's performance is not very good.
If we consider the performance or efficiency, std::ostringstream() performance is not comparable to std::snprintf(), if we consider the safety or simplicity std::ostringstream() is better than std::snprintf().