reduced CPU cost of file index by suppressing lots of std::string copy actions

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3917 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-12-15 22:51:41 +00:00
parent 254e3de187
commit 8cfe5abbe2
3 changed files with 35 additions and 32 deletions

View file

@ -686,6 +686,8 @@ void FileIndexMonitor::updateCycle()
{
#ifdef FIM_DEBUG
std::cerr << "File ModTime/Size changed:" << fname << std::endl;
std::cerr << "fe.modtime = " << fe.modtime << std::endl;
std::cerr << "fit.mdtime = " << fit->second->modtime << std::endl;
#endif
toadd = true;
}