plans vis-a-vis inline functions and templates

Darin Adler darin at apple.com
Tue Dec 16 17:05:43 CET 2003


On Dec 16, 2003, at 7:03 AM, Dirk Mueller wrote:

> I also regularly inline short methods to reduce code bloat.

Here's what I've learned from the many past C++ projects I worked on: 
If the methods are truly trivial, this will work. If they are not, then 
this attempt to reduce code bloat will actually make the code both 
larger and slower. It's difficult to tell the difference just by 
looking at the source code.

     -- Darin



More information about the Khtml-devel mailing list