opitimizing system performance

Discussion in 'Mac Apps and Mac App Store' started by upperblue79, Jul 6, 2004.

  1. upperblue79 macrumors regular

    upperblue79

    Joined:
    Mar 26, 2004
    Location:
    Little Rock, AR
    #1
    When you install a new application and towards the end it says "optimizing system performance" what is it doing? Just curious.
     
  2. blue&whiteman macrumors 65816

    blue&whiteman

    Joined:
    Nov 30, 2003
  3. MacNeXT macrumors 6502

    Joined:
    Jun 21, 2004
    #3
    It does prebinding.

    Binding is the process of determining memory addresses to call for functions in libraries. Normally, this depends on the memory location at which the library is loaded, which can vary. Therefore binding must often be done whenever an application and the libraries that it uses are loaded into memory.

    However, prebinding is calculating these addresses for predefined memory locations for libraries. This way, the binding doesn't have to be done when an application loads. Prebinding must be done over whenever new applications and libraries are installed. A different layout must be used if the system uses different libraries. Therefore it's often done at the end of installation.

    So it optimizes application startup. You can manually do this whenever you want:

    sudo update_prebinding -root /
     

Share This Page