[Interest] Tricks to improve moc performance?

Richard Weickelt richard at weickelt.de
Fri Dec 6 19:06:24 CET 2019


> This solution gets you a single build for all the the mocs, which is good, but 
> won't generate the best code that Peppe was talking about. You want the moc 
> for a given class to be in the class's own .cpp.

Unless you build with link-time optimization enabled, I suppose. Because
then translation units are no longer an optimization boundary.


More information about the Interest mailing list