Updating deprecated functions

Boudewijn Rempt boud at valdyas.org
Sun Sep 12 09:47:22 CEST 2010


On Sunday 12 September 2010, JL VT wrote:
> When I compile, I see a huge list of warnings that certain functions
> being used are deprecated (I think it's all Iterators).

The old-style iterators should be replaced by the faster new-style iterators.

> Before I start on an epic crusade of updating all those function
> references, what benefit should Krita see from the use of the new
> functions?. More stability?, More speed?, A certain feature?.

More speed and less iterators -- once everything is ported, we can remove the old code.

> If it helps with stability (e.g.: less crashes) then I'll try to
> update them for 2.3.

No, that would be too drastic. And since it's a refactoring, it's not a good idea to do it in the branch either, since it will make merging harder. It's something to do at the beginning of the next iteration, soon after trunk opens.

-- 
Boudewijn Rempt | http://www.valdyas.org
Ceterum censeo lapsum particulorum probae delendum esse


More information about the kimageshop mailing list