[Qt-interest] A small request !

Ian Thomson Ian.Thomson at iongeo.com
Wed Sep 30 13:40:16 CEST 2009


Hi,

If you read the source for QPoint and so on you will see that almost 
every function is inlined. That means there is no penalty for a function 
call.

Are you requiring this optimization based on profiler results? It is 
extremely strange that you are finding this to be a bottleneck.

Cheers,
Ian.

Mihail Naydenov wrote:
> So, is this (trivially) doable?
> 
> It will be rally nice. And this also applies to other geometric-related classes like QTransform.
> 
> Besides the operator overloading, there is always a room for other helper methods (like getScale or translateAbs in QTransform for instance) and I find it a bit ugly to pay the price of function call, especially when these are *geometric* classes, should be optimized more or less.
> 
> Thank You
> MihailNaydenov
> 



More information about the Qt-interest-old mailing list