From e4e313fe129fa2c96440e53a8fc9e2ba8bca2fd1 Mon Sep 17 00:00:00 2001 From: scrawl Date: Mon, 8 Feb 2016 14:41:21 +0100 Subject: [PATCH] Remove outdated comment --- apps/openmw/mwworld/cellpreloader.cpp | 2 +- components/resource/resourcemanager.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/openmw/mwworld/cellpreloader.cpp b/apps/openmw/mwworld/cellpreloader.cpp index 6bf28cb48..d9875e0b7 100644 --- a/apps/openmw/mwworld/cellpreloader.cpp +++ b/apps/openmw/mwworld/cellpreloader.cpp @@ -140,7 +140,7 @@ namespace MWWorld // error will be shown when visiting the cell } } - //std::cout << "preloaded " << mPreloadedNodes.size() << " nodes in " << preloadTimer.time_m() << std::endl; + std::cout << "preloaded " << mPreloadedNodes.size() << " nodes in " << preloadTimer.time_m() << std::endl; } private: diff --git a/components/resource/resourcemanager.cpp b/components/resource/resourcemanager.cpp index b6b38bfa2..e5f6d9f43 100644 --- a/components/resource/resourcemanager.cpp +++ b/components/resource/resourcemanager.cpp @@ -15,8 +15,6 @@ namespace Resource void ResourceManager::updateCache(double referenceTime) { - // NOTE: we could clear the cache from the background thread if the deletion proves too much of an overhead - // idea: customize objectCache to not hold a lock while doing the actual deletion mCache->updateTimeStampOfObjectsInCacheWithExternalReferences(referenceTime); mCache->removeExpiredObjectsInCache(referenceTime - mExpiryDelay); }