[sldev] RFC: dead code stripping?

Ben Byer bbyer at mm.st
Sun May 20 20:51:12 PDT 2007


 From casual inspection of the source, there is a lot of code which  
is either completely dead (never referenced by other code), or barely  
used (and could be eliminated with a trivial patch -- kinda like  
refactoring, but I'm talking about truly trivial cases here).

Modern compilers can remove most of this at compile-time, but it  
would be nice to remove this code from the codebase as well, to speed  
up compile times and more importantly let us focus our efforts on the  
code that's actually still used.

Would there be any interest in my pursuing this?  I'd be happy to try  
to generate a list of functions which seem to be unused in newview.   
Once people have looked through the list and looked for things I may  
have missed, I could then start creating patches to remove that code.

Thoughts?
-b



More information about the SLDev mailing list