* Niko Tyni:

> If there are several /usr/bin/perl processes and /usr/bin/perl is
> statically linked against libperl, every process has its own copy of
> the libperl code in memory. In the case of dynamic linking, there's just
> one copy.

No, there is still only one copy in memory (or two if applications are
running which use the embedded interpreter).

In fact, static linking needs less non-sharable per-process data
because tables for dynamic relocations are not needed.  The savings
are perhaps not as pronounced for the Perl interpreter because it is
linked with --export-dynamic (or equivalent) to export symbols to Perl
XS modules.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87r3qfwtt1....@mid.deneb.enyo.de

Reply via email to