According to BGB <
cr88192@gmail.com>:
But, I was left thinking, some programs use SQLite, which exists as a
single giant C file. I guess it technically works, but has the downside
of adding something like IIRC around 900K or so to the size of the
binaries' ".text" section.
Take a look at the libraries any typical program links to these days.
Only one megabyte? That's nothing.
Keep in mind that the libraries are demand paged into the program's
address space and usually the linker only resolves call addresses on
the first call so if you only use a little bit of the library, it
only links and maps a little bit of it so the load depends on what
you use, not the total size of the library.
On my BSD system the mail daemon forks and maps in about 20 shared
libraries for each message and the startup time is still so fast
it's not noticable.
--
Regards,
John Levine,
johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail.
https://jl.ly
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)