DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Shared libraries

Exclude infrequently used routines

Putting infrequently used routines in a shared library can degrade performance, particularly on paging systems. Traditional a.out files contain all code they need at run time. The code in an a.out file is related to the process. Therefore, if a process calls a function, it may already be in memory because of its proximity to other text in the process. See also ``Organize to improve locality''.


Next topic: Exclude routines that use much static data
Previous topic: Include large, frequently used routines

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003