implemented a cache for mbox message header offsets

This commit is contained in:
dockes
2009-11-27 12:41:05 +00:00
parent d5c80cdf16
commit 2ad0326ed7
6 changed files with 210 additions and 8 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ bool RclDHistoryEntry::decode(const string &value)
// Old style entry found, make an udi, using the fs udi maker
make_udi(fn, ipath, udi);
}
LOGDEB(("RclDHistoryEntry::decode: udi [%s]\n", udi.c_str()));
LOGDEB1(("RclDHistoryEntry::decode: udi [%s]\n", udi.c_str()));
return true;
}
@@ -91,7 +91,7 @@ bool RclDHistoryEntry::equal(const DynConfEntry& other)
bool historyEnterDoc(RclDynConf *dncf, const string& udi)
{
LOGDEB(("historyEnterDoc: [%s] into %s\n",
LOGDEB1(("historyEnterDoc: [%s] into %s\n",
udi.c_str(), dncf->getFilename().c_str()));
RclDHistoryEntry ne(time(0), udi);
RclDHistoryEntry scratch;