id summary reporter owner description type status milestone component version severity resolution keywords cc 12453 libs/locale/src/shared/message.cpp: 4 * inefficient code ? dcb314@… Artyom Beilis "libs/locale/src/shared/message.cpp:691]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. libs/locale/src/shared/message.cpp:691]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. Source code is if(compare_encodings(mo_encoding.c_str(),locale_encoding_.c_str())!=0) Also libs/locale/src/shared/message.cpp:693]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. libs/locale/src/shared/message.cpp:693]: (performance) Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. " Bugs closed To Be Determined locale Boost 1.61.0 Optimization fixed