On Thursday 02 July 2015 17:48:59 Thiago Macieira wrote: > On Thursday 02 July 2015 10:44:14 Marc Mutz wrote: > > D-pointers are not called Compiler Firewalls for nothing. Just compare > > assembly generated from use of QColor (which doesn't even have a > > d-pointer, but is mostly out-of-line anyway) with that generated for > > QRgb. > > That's not a fair comparison. QRgb is not a class, it's a typedef to > unsigned int.
It's equivalent to what a fully inline QColorRGB(A)8 should compile to, modulo compiler bugs. If you don't like the comparision to QRgb, s/QRgb/QRgba64/, which _is_ a class. Thanks, Marc -- Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company Tel: +49-30-521325470 KDAB - The Qt Experts _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development