Hi!
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.
Moreover, later .cfgInit _array_ may be joined with .cfgInitTail _array_
into one, twice lesser array (with .cfgInitTail as pointer inside this
common array), thus you get bigger reduction.
BO> (except for MSVC) Even for compressed kernels having all zeros at the
BO> end helps: less entropy.
-------------------------------------------------------
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