按我的理解,未被用到东西不会被连接进去.
以下文字摘自:
http://www.borland.com/delphi/papers/dl120/dl120.html#new_optimizing
New Optimizing Linker
As part of the compilation process, Delphi uses a new 32 bit linking
technology that also includes several optimizations to operate
faster. Because the new smart linker will eliminate both unnused
functions and procedures as well as unused static and virtual
methods, applications are often faster and smaller. By eliminating
virtual methods, developers have greater flexibility in using objects
knowing that any unnecessary code will be removed automatically by
the linker.