This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Performance of std::to_string


On 2 January 2015 at 16:17, Mikhail Maltsev wrote:
> Maybe we could substitute vsnprintf in __to_xstring by another function
> (provided that the behavior is identical)? Or even add support of
> integer types to gimple_fold_builtin_sprintf_chk?

IMHO changing the builtin would be better, as it benefits all users of
sprintf not just users of to_string, but this is the wrong list to ask
whether a change to the builtin would be accepted.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]