[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] libtla, version_string
From: |
Matthew Dempsky |
Subject: |
Re: [Gnu-arch-users] libtla, version_string |
Date: |
Mon, 30 Aug 2004 14:22:27 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Yann Droneaud <address@hidden> writes:
> I found that the 'version_string' is duplicated accross almost every
> source files correspondig to a command.
A consequence of some of the scripts used to create those files.
> This is many bytes wasted in the binary to store redundant information,
> so we could add a version.c file holding only one defintion of the
> version string.
Hm, you're right... 'tla -V | wc -c' reports version_string to end up
at around 300 bytes (maybe less if -V introduces other output), and
x100 files makes it 30kb... and tla in my /usr/bin weighs in at
~630kb, so that's a pretty decent amount of it.
> Should I do it (it's something i can easily contribute to tla), or
> someone had already done the job ?
I'd say go for it. There's no real reason for this being the way it
is except for historical inertia.