perl-unicode

Re: [Encode] (ir)?relevance of Configure -Uusecjk

2002-04-09 14:47:10
On Wed, Apr 10, 2002 at 06:38:00AM +0900, Dan Kogai wrote:
On Wednesday, April 10, 2002, at 05:34 , Jarkko Hietaniemi wrote:
I'm afraid I've got one change at least coming up, I want to implement
the Configure -Uusecjk, so people with memory/disk footprint worries
can leave out the CJK of Encode.  As soon as I can figure out how
to convince MM not to enter certain subdirs...

Well,  I am not sure how relevant this option is since *.ucm are no 
longer installed unless you tell Makefile.PL to do so.  I've posted the 
changes long time ago but to show the (ir)?relevance,  I have complied a 
pretty-printed du result of PERL5LIB on FreeBSD-4.5 current.  FYI I have 
clean-installed.

So the saving is around 30% on my FreeBSD box.  I am not sure if 
dropping CJK (even via Compile option) is worth it.  Without CJKT, IMHO, 
the juiciest part of Encode is gone.  If it saves 50% or more I would 
second that opinion but we all have to admit perl 5.8.0 is big, with or 
without CJKT.

I'm not arguing against that, I should know since I collected all the
stuff...  but the Encode CJK is still 7 megabytes out of 25 (without
the CJK Encode shared objects are just few hundred kB).  I think the
option is worth having.

The default will still be to have it all.

Another exception I would second is for those platforms which need 
static links such as Unicos.

Also, PDAs that are glad for every kB you can shave away.

5.7.3                                             24971 (100.00%)
5.7.3/i386-freebsd                                12450 ( 49.86%)
5.7.3/i386-freebsd/auto                            8620 ( 34.52%)
5.7.3/i386-freebsd/auto/Encode                     7253 ( 29.05%)
5.7.3/pod                                          4131 ( 16.54%)
5.7.3/unicore                                      4044 ( 16.19%)
5.7.3/i386-freebsd/CORE                            2470 (  9.89%)
5.7.3/i386-freebsd/auto/Encode/JP                  2105 (  8.43%)
5.7.3/i386-freebsd/auto/Encode/KR                  1865 (  7.47%)
5.7.3/i386-freebsd/auto/Encode/CN                  1817 (  7.28%)
5.7.3/i386-freebsd/auto/Encode/TW                  1137 (  4.55%)

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

<Prev in Thread] Current Thread [Next in Thread>