koffice/libs/store

Ariya Hidayat ariya at kde.org
Sun Nov 26 17:26:41 CET 2006


> That might make sense in the swapped out tiles, I think. But not in the tiles
> that are still in memory, and not for saving (since .kra is zipped anyway).
> For tiles in memory, I fear the overhead might be too big.

It's not always the case. On modern CPU, its large cache helps a lot
(e.g. the whole compression and decompression code might fit in the
instruction cache). Not too mention that compression actually makes
you allocate/access/use *less* memory. I predict that it is just a
matter of time that the improved multicore CPU performance causes the
compression overhead to be negligible compared to memory access time.

To make it short: the best way is to try it :-)

Regards,

Ariya


More information about the kimageshop mailing list