OpenDream icon indicating copy to clipboard operation
OpenDream copied to clipboard

Optimize some collections

Open ike709 opened this issue 1 year ago • 0 comments

Pulls the low hanging fruit out of https://github.com/OpenDreamProject/OpenDream/pull/2023 since the other collections I touched in that PR need some more finagling than I initially realized.

The change to InheritingTypes is to reduce the number of allocated lists at the cost (aside from game setup) of doing a nullcheck in typesof().

Confirmed Paradise doesn't explode.

ike709 avatar Oct 15 '24 02:10 ike709