This message on perl5-porters brought an idea to mind:

Paul Marquess <[EMAIL PROTECTED]> writes:
> From: Marc Lehmann [mailto:[EMAIL PROTECTED]]

>> Actually, the perl binary links against waay too many libraries.  As a
>> rule of thumb, the perl binary is linked against all libraries any
>> extensions could need. At least on ELF platforms, this is unnecessary
>> bloat and slows down loading noticably (at least for me). My perl (on
>> linux) is linked against:

>>         libdl
>>         libm
>>         libc
>>         libcrypt

> Err, I think the perl binary might just need the first three. The last
> is needed for the crypt built-in.

Given that crypt isn't the most widely used builtin in the world and since
we're proposing migration of some things to modules anyway, how about
moving crypt?  It won't save much at all in the way of code size, but it
*would* mean that Perl would link against one fewer library on some
platforms, which is frequently a plus in load time.

Don't have time at the moment to write an RFC, so if someone else wants
to, be my guest....

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to