Shop OBEX P1 Docs P2 Docs Learn Events
Removal of unused code? — Parallax Forums

Removal of unused code?

Which p2 compilers remove unused methods, data etc. when compiling source code?

Comments

  • Spin Tools removes unused methods -- if you enable it in the Preferences dialog. I don't know about unused data; that might be very difficult for the compiler to determine given all the mechanisms that can be used to access data.

  • That's great Jon, I'm mostly uisng Spin Tools at the moment. It's the removal of methods that really counts. Thanks - I hadn't spotted that preference.

Sign In or Register to comment.