mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
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:
parent
254e3de187
commit
8cfe5abbe2
3 changed files with 35 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue