commit: inlining

From: Patrick Lam (plam@plam.lcs.mit.edu)
Date: Fri Apr 05 2002 - 18:09:38 EST

  • Next message: Martin Sevior: "Fixed! Re: Release 0..9.5 tagged."
  • Next message: Martin Sevior: "Fixed! Re: Release 0..9.5 tagged."

    inline some function definitions which were showing up as hot spots
    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/xap/xp/xap_App.h src/af/xap/xp/xap_Prefs.h
    CVS: ----------------------------------------------------------------------

    I trust that the C++ compiler will now do the right thing; on one of
    mg's profile runs, the methods in question were taking 1.5% of the
    execution time (which was a large chunk for accessor methods). A smart
    C++ compiler would've automatically inlined them, but oh well.

    pat



    This archive was generated by hypermail 2.1.4 : Sat Apr 06 2002 - 10:38:26 EST