Recursive inheritFrom slows room to a crawl #734

Open
opened 2026-02-20 10:20:05 -05:00 by deekerman · 1 comment
Owner

Originally created by @96LawDawg on GitHub (Nov 12, 2023).

This early copy of Naval Warfare uses a poorly designed inheritFrom structure. For example, look at the red labels at the top of each column. The second one (B) inherits from A. But then C inherits from B. And D inherits from C. And so on. The holder making up the main board also have the same problem. The room is crazy slow to load and use.

I improved the inheritFrom structure for the PL, but this copy is a demo to test any fixes that might be implemented.

Naval_Warfare Bad inheritFrom.zip

Originally created by @96LawDawg on GitHub (Nov 12, 2023). This early copy of Naval Warfare uses a poorly designed inheritFrom structure. For example, look at the red labels at the top of each column. The second one (B) inherits from A. But then C inherits from B. And D inherits from C. And so on. The holder making up the main board also have the same problem. The room is crazy slow to load and use. I improved the inheritFrom structure for the PL, but this copy is a demo to test any fixes that might be implemented. [Naval_Warfare Bad inheritFrom.zip](https://github.com/ArnoldSmith86/virtualtabletop/files/13328508/Naval_Warfare.Bad.inheritFrom.zip)
Author
Owner

@robartsd commented on GitHub (Nov 13, 2023):

I don't think trying to improve the performance of a poor inheritFrom structure is worth looking into, but tools to help identify and fix a poor inheritFrom structure are worth considering.

@robartsd commented on GitHub (Nov 13, 2023): I don't think trying to improve the performance of a poor inheritFrom structure is worth looking into, but tools to help identify and fix a poor inheritFrom structure are worth considering.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/virtualtabletop#734
No description provided.