Smart pointers and color strategies
cbr at boemann.dk
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?
I'm not sure the overhead is that big, but I'm all for it.
best regards / venlig hilsen
More information about the kimageshop