On Mon, 10 May 2004, Arkady V.Belousov wrote:

> 9-���-2004 21:15 [EMAIL PROTECTED] (Bart Oldeman) wrote to
> [EMAIL PROTECTED]:
>
> >> - small optimization: `init' and `inittail' now "assigned" to .cfgInit and
> >>   .cfgInitTail statically.
> >> - removed "COMMAND" statement.
> >> TGROUP reduced from 0e1d1h to 0e1c6h;
> >> INIT_TEXT reduced from 3b71h to 3b66h;
> >> ICONST reduced from 9b8h to 996h;
> >> I_BSS reduced from 0e7ch to 0df6h;
> >> IDATA increased from 57ah to 5fah.
> BO> I don't think it's good to reduce BSS at the cost of DATA. Some people
> BO> like uncompressed kernels to be as small as possible too and the BSS
> BO> isn't showing up in kernel.sys :)
>
>      This is tradeoff (you reduce code, data may be increased). On the other
> side, after this patch (unpacked) executable increased only by 2 bytes.

This is strange:
TGROUP  -11 bytes
ICONST  -34 bytes
IDATA  +128 bytes

total   +83.

But part of the ICONST reduction comes from the removal of "COMMAND" so that
doesn't count in the final comparison.

Bart



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to