[ILUG] Shink your code and execution speeds.

Caolan McNamara cmc at stardivision.de
Thu Sep 7 10:09:24 IST 2000


You know if linux is always going to overcommit memory so that the
malloc family never returns NULL then maybe gcc should have an
optimization option to prune execution branches that rely on their
failure.

I know of course that you'd be mad to use the option, especially to
create binaries to give to others who might have overcommittment
turned off now or in the future, but it would be amusing to see what
sort of a difference it makes size/speed wise (not a lot Id guess,
but could be fun)

Possibly already supported in some form or other ?

C.
--
Herein are personal opinions, you'd want to be crazed to consider
these official positions of StarOffice/Sun or even vaguely congruent.





More information about the ILUG mailing list