Thinking about large files.

Casper Boemann cbr at boemann.dk
Mon Jun 13 22:45:54 CEST 2005


On Monday 13 June 2005 22:11, Bart Coppens wrote:
> > Maybe we could even devise an algorithm to delete unused tiles from
> > memory and cache them on disk; same with undo information.
>
> Didn't we used to have a (not implemented) class that was supposed to do
> stuff like this? I think a tiles cache is the way we should do it. Convert
> everything to a format the datamanager can read efficiently, and dump parts
> of that on disk. As for the caching part itself: I think there are some
> nice algorithms for that (because they are extensively used in operating
> systems). The 'Least Recently Used' and 'Clock' algorithms come to my mind,
> but I don't know how well they'd fit in krita design.
Yes with the old tilemanager there was an unimplemented class. I removed it 
because everything else changed, but I always intended to add a cachemanager 
and offloading function some day. Sounds like this is something for you :-)

-- 
best regards / venlig hilsen
Casper Boemann


More information about the kimageshop mailing list