thane98 / paragon

Toolkit for editing various FE games.
GNU General Public License v3.0
56 stars 17 forks source link

Don't allocate a new entry in pointer property unless it's actually necessary #2

Closed thane98 closed 3 years ago

thane98 commented 4 years ago

Right now, "make unique" in pointer property will always allocate a new entry even if it's the only reference to the current entry. This leaves "zombie" data in the archive that must be collected manually.

If a pointer is the only reference to its destination, "make unique" should be a no-op.