dududuil
2010-04-23 08:07:01 UTC
hi all,
I have a huge application that does a lot of strings manipulations.
Analyzing its performance, I have noticed that a lot of time is spend in
CString::Replace.
calls like :
str.Replace("\n","\n\t"); or
str.Replace("\r", "\0x00");
take lots of time. (25% of overall performance !!)
How can I improve the performance?
I have a huge application that does a lot of strings manipulations.
Analyzing its performance, I have noticed that a lot of time is spend in
CString::Replace.
calls like :
str.Replace("\n","\n\t"); or
str.Replace("\r", "\0x00");
take lots of time. (25% of overall performance !!)
How can I improve the performance?