Skip to content
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

Performance Improvements #14

Draft
wants to merge 25 commits into
base: dev
Choose a base branch
from
Draft

Performance Improvements #14

wants to merge 25 commits into from

Conversation

Drofseh
Copy link
Contributor

@Drofseh Drofseh commented Oct 15, 2024

When merged this pull request will:

  • Improve performance of TMF by using more efficient commands or structures.
  1. replace vehicle _x != _x and vehicle _x == _x check with !isNull objectParent _x and isNull objectParent _x
  2. increase the use of lazy evaluation
  3. replace pushBackUnique with pushBack and arrayIntersect where sensible.
  4. replace _array pushBackUnique _item != -1 with _item in _array (what a strange use of pushBackUnique)
  5. replace CBA hashmap functions with newer vanilla hashmap commands
  6. change or to || and and to &&
  7. remove refereces to RHS, 3CB, TF47
  8. modernize use of private keyword
  9. various minor fixes and optimizations

@Drofseh Drofseh added the enhancement New feature or improvement label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant