Versioned Paint Devices in Krita

Boudewijn Rempt boud at valdyas.org
Mon May 10 12:35:29 CEST 2010


On Sunday 09 May 2010, Dmitry Kazakov wrote:
> Well, I've fixed this. It adds 1.5% at most.
> http://websvn.kde.org/?view=revision&revision=1124527
> 
> And there is still no reason in implementing of unversioned devices as
> registering changes takes at most 2% of KisTile::lockForWrite. For
> unversioned devices this operation is done only once per creation or
> clear().
> 
> Thought it is still not good to create/delete new devices very often as it
> is quite expensive operation. More than that, allocation of a memento
> manager costs 30% of KisTiledDataManager constructor.

Hm... Did you run the unittests? I see a lot of regressions there.

-- 
Boudewijn Rempt | http://www.valdyas.org


More information about the kimageshop mailing list