[patch] fix for bug 68181
Dirk Mueller
mueller at kde.org
Sat Dec 27 22:48:09 GMT 2003
On Saturday 27 December 2003 23:07, Waldo Bastian wrote:
> I feel a bit uncomfortable with just throwing entries out of the cache.
> Wouldn't it be better to keep the various types in a different cache-space?
> (E.g. by prefixing the key used as index into the cache with a
> type-indicator)
well, then you end up caching the same data twice in memory. thats not very
efficient.
I think its fine to flush the entry from the memory cache index when the type
changes. I'm not entirely sure yet if the patch is correct though.. things
like refcounting have to be verified.
Dirk
More information about the kfm-devel
mailing list