koffice/krita/core/tiles

Adrian Page adrian at pagenet.plus.com
Sun Mar 27 16:08:17 CEST 2005


Casper Boemann wrote:
>>A quick tip: you could use QValueVector<struct DeletedTile> here, which
>>would mean you wouldn't need to write all the linked list manipulation
>>code. The Qt collection classes save you time and are less prone to bugs
>>- worth considering in the future.
> 
> 
> Thanks
> 
> didn't think of that because I don't like to have qt this deep into krita, but 
> I guess you're right.

I would use it no matter how deep it is, since it does lead to simpler, 
more reliable and maintainable code. If there are concerns about 
performance, that would be tackled after profiling and homing in on what 
would need more specialised code.

Adrian


More information about the kimageshop mailing list