id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 101,regex performance issue,nobody,John Maddock,"{{{ Is boost::regex_merge able to parse more than 20kb data per sec? I'm using a function like the following, and cant get it above that rate.. std::string RegExpBinReplace(LPCSTR szWhat, std::string szWhere, DWORD len, LPCSTR szReplacement) { const boost::regex e (szWhat,boost::regbase::normal); std::ostringstream t(std::ios::out | std::ios::binary); std::ostream_iterator oi(t); boost::regex_merge(oi, szWhere.begin(), (szWhere.begin() + len), e, szReplacement); return t.str(); } Compiled with visual c++ 6, running on a AMD xp2000+... }}}",Support Requests,closed,,None,None,,Works For Me,,