[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changes to perl-base contents for 5.6.1



On Fri, May 04, 2001 at 05:22:03PM -0400, Joey Hess wrote:
>Brendan O'Dea wrote:
>> Drats.  OK, well an alternative which occured to me was that I could
>> make a small POSIX::Base (or something) XS module for -base which
>> provided setlocale, LC_MESSAGES, tmpnam and whatever else was required.
> 
>Isn't POSIX autoloaded? So couldn't you move most of auto/POSIX/*.al out
>of perl-base?

It is but the as largest chunks are the .pm and .so it it still fairly
hefty even with the autoloaded stuff split out:

    20k     POSIX.pm
    0       auto/POSIX/POSIX.bs
    81k     auto/POSIX/POSIX.so
    3.0k    auto/POSIX/autosplit.ix
    7.0k    auto/POSIX/load_imports.al
    111k    total

By comparison, a small POSIX::Tiny module I just whipped up which
provides setlocale, the LC_* constants and tmpnam is considerably
smaller:

    1.0k    POSIX/Tiny.pm
    0       auto/POSIX/Tiny/Tiny.bs
    9.0k    auto/POSIX/Tiny/Tiny.so
    10k     total

Regards,
-- 
Brendan O'Dea                                        bod@compusol.com.au
Compusol Pty. Limited                  (NSW, Australia)  +61 2 9810 3633



Reply to: