New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overhaul GameObject API #510

ilexp opened this Issue Mar 16, 2017 · 1 comment


1 participant

ilexp commented Mar 16, 2017


The public GameObject API carries some methods that are almost never used, perform poorly, or provide questionable functionality - such as finding child objects by name. Investigate potential improvements as part of the v3.0 milestone.


  • Improve performance
    • Where possible, replace iterators with more efficient means of enumerating objects.
    • Introduce shortcuts and exploit internal field access where opportunity arises, if that would be more efficient.
  • Remove questionable API
    • Consider removing find-by-name functionality.
    • Consider removing IterateXY functionality and instead provide more efficient Get/Children/Deep methods. Provide the option to retrieve these objects sorted by exec order, internally exploiting knowledge about pre-sorted lists to improve efficiency.
    • Investigate other questionable functionality or API.
  • Streamline existing functionality
    • To be investigated as well.

@ilexp ilexp added this to the v3.0 milestone Mar 16, 2017


This comment has been minimized.


ilexp commented Mar 26, 2017


@ilexp ilexp closed this Mar 26, 2017

@ilexp ilexp self-assigned this Mar 26, 2017

@ilexp ilexp referenced this issue Dec 22, 2017


Incorporate Some of the batbuild Changes #272

5 of 8 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment