bug-bash
[Top][All Lists]
Advanced

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

Re: missing way to extract data out of data


From: Dale R. Worley
Subject: Re: missing way to extract data out of data
Date: Wed, 24 Mar 2021 22:52:16 -0400

Andreas Schwab <schwab@linux-m68k.org> writes:
>> I've never tracked down why, but the Perl executable is a lot smaller
>> than the Bash executable.
>
> Is it?
>
> $ size /usr/bin/perl /bin/bash
>    text    data     bss     dec     hex filename
> 2068661   27364     648 2096673  1ffe21 /usr/bin/perl
> 1056850   22188   61040 1140078  11656e /bin/bash
>
> Of course, a lot of perl is part of loadable modules.

On mine, I get:

$ size /usr/bin/perl /bin/bash
   text    data     bss     dec     hex filename
   8588     876       0    9464    24f8 /usr/bin/perl
 898672   36064   22840  957576   e9c88 /bin/bash

I do suspect that's because perl is using more loadable modules than
bash, but I don't know much about how the object code is organized and
I've never been motivated enough to track down the truth.

Dale



reply via email to

[Prev in Thread] Current Thread [Next in Thread]