[calligra/krita-bounded-pooler-kazakov] krita/image: Implemented a new bounded tile data pooler

Boudewijn Rempt boud at valdyas.org
Mon Mar 7 10:57:51 CET 2011


On Mon, 7 Mar 2011, Dmitry Kazakov wrote:

> I did some research for the pooler efficiency. It looks like many
> clones-cache miss'es happen due to temporary paint devices we create during
> the stroke, and it isn't possible to pre-clone any of them beforehand. So
> the the best thing the pooler can do right now is to preallocate 10-50% of
> the tiles used in a stroke. I think this is not a bad result anyway =)
> 
Maybe we can have a pool of temp paint devices?

> So if anyone tested this branch, i would merge it into master ;)

Not yet, my main test would be a 10000x10000 image with a couple of filled layers
and check whether we crash :-)

> can disable it with setting "memoryPoolLimitPercent" option to 0.
> 
> -- 
> Dmitry Kazakov
> 



More information about the kimageshop mailing list