[sldev] Re: dead code
Alan Grimes
agrimes at speakeasy.net
Tue May 22 18:08:50 PDT 2007
that's an enormous list! =P
I can't reply directly to the message because it would include the
entire thing in the reply.
The next step would be to organize them... symbols containing LL or ll
are probably part of the viewer, symbols containing STD:: are probably
library calls (or instances of containers that aren't being used..)
I'm for agressively retiring unused code for many reasons including the
following.
1. Reduced memory footprint. (depends on optimization flags/quality of
compiler)
2. reduced compile time.
3. makes it easier to find the "live" code...
4. may help to uncover latant bugs as my bool patch did. (the second
boolpatch includes a number of bugfixes.)
I don't mean that dead code shouldn't be shipped for possible re-use,
only that it should be moved to a /dead directory so that it doesn't get
in the way of work on the live code.
--
Opera: Sing it loud! :o( )>-<
More information about the SLDev
mailing list