Smart pointers and color strategies

Casper Boemann cbr at
Sun Jul 31 19:52:48 CEST 2005

On Sunday 31 July 2005 19:46, Boudewijn Rempt wrote:
> Since we basicallly have only one copy of each color strategy, and since we
> don't want to delete that copy ever -- why do we actually use smart
> pointers for color strategies? With Krita going to the color strategy for
> every little pixel computation, wouldn't it be smarter to use plain
> pointers and not have the overhead of smart pointers?
good point

I'm not sure the overhead is that big, but I'm all for it.

best regards / venlig hilsen
Casper Boemann

More information about the kimageshop mailing list