Shop OBEX P1 Docs P2 Docs Learn Events
Redundant Object Removal in Propeller Tool — Parallax Forums

Redundant Object Removal in Propeller Tool

Dave MatthewsDave Matthews Posts: 93
edited 2009-09-11 13:11 in Propeller 1
In the Object Info window of Propeller Tool I cover the top Object File with my cursor, and get the message:
" Redundant Object Removal Saved 27 Longs ".

While the project is working fine enough ( http://www.lostfrogsrecords.com/ click on 'Scare-odactyl' tag),
but I am concerned about what the message means and if I am really screwing up badly to have such redundant calls/objects, whatever.

Any advice about where to look for information regarding this message or instruction would be greatly appreciated!

Dave

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-09-10 23:03
    If the same object is used more than once in a program, the code for that object usually only needs to be included once. Any DAT areas are also only included once which works fine if they're only used to hold constants or assembly code. There are some objects that are specifically written to have shared DAT variable areas, but this is a deliberate design choice. Each use of an object in your program creates a separate VAR data area unique to that use. The Propeller Tool is simply commenting that it found several identical uses of an object and only included the code and DAT areas once, thus saving 27 longs.
  • Dave MatthewsDave Matthews Posts: 93
    edited 2009-09-11 13:11
    Thanks Mike!

    Dave
Sign In or Register to comment.