Prelink - Method

Method

Most programs require libraries to function. Libraries can be integrated into a program once, by a linker, when it is compiled (static linking) or they can be integrated when the program is run by a loader, (dynamic linking). Dynamic linking has advantages in code size and management, but every time a program is run, the loader needs to find the relevant libraries. Because the libraries can move around in memory, this causes a performance penalty, and the more libraries that need to be resolved, the greater the penalty. prelink reduces this penalty by using the system's dynamic linker to reversibly perform this linking in advance ("prelinking" the executable file) by relocating. Afterward, the program only needs to spend time finding the relevant libraries on being run if, for some reason (perhaps an upgrade), the libraries have changed since being prelinked.

Read more about this topic:  Prelink

Famous quotes containing the word method:

    Women are denied masturbation even more severely than men and that’s another method of control—they’re not taught to please themselves.... Most women—it takes them a while to warm up to the “situation” but once they get into it, I’m sure they’re going to get just as hooked as—well, everyone I know is!
    Lydia Lunch (b. 1959)

    Direct action ... is the logical, consistent method of Anarchism.
    Emma Goldman (1869–1940)

    “I have usually found that there was method in his madness.”
    “Some folk might say there was madness in his method.”
    Sir Arthur Conan Doyle (1859–1930)