[sldev] RFC: dead code stripping?
Callum Lerwick
seg at haxxed.com
Sun May 20 21:05:48 PDT 2007
On Sun, 2007-05-20 at 20:51 -0700, Ben Byer wrote:
> 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.
There's a lot of shared code between the server code (that we don't get
to see) and the client. A lot of this is probably stuff that is used by
the servers only. However it would still be nice to ifdef this stuff out
in the open source code drops. Help speed up compilation times and such,
and maybe eliminate that direct OpenSSL requirement...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070520/cd0ff93e/attachment.pgp
More information about the SLDev
mailing list