Skip to content

Conversation

HolonProduction
Copy link
Member

Removes 24 bytes from Object since the script was stored as Variant. Instead obtains the script from the ScriptInstance.

As far as I can see Object::get_script is not used in any obvious hot paths, so the additional overhead should not matter that much.

In addition to making object smaller, this is also makes inconsistent states impossible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants