Speeding up (caching?) shared libraries loading

Dan Nelson dnelson at allantgroup.com
Tue Aug 31 14:35:50 UTC 2010


In the last episode (Aug 31), Andrea Venturoli said:
> Suppose I have an executable which I need to invoke repeatedly (e.g. to
> run tests in a makefile).  This executables spend most of its time loading
> (rather than processing), due to the need of several huge shared
> libraries.

Link your program statically and bypass the dynamic linker completely.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list