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

[no sq] Server/env optimizations #14582

Merged
merged 5 commits into from
May 3, 2024
Merged

[no sq] Server/env optimizations #14582

merged 5 commits into from
May 3, 2024

Commits on May 2, 2024

  1. Trivially optimize iteration order in loops

    Due to how node data is stored iterating X last provides better cache locality.
    sfan5 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    5d42528 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2bdbeb View commit details
    Browse the repository at this point in the history
  3. Optimize pushing collision data for entity on_step

    Since this is fixed overhead for every entity, this is important to optimize.
    This optimizes one very common case.
    
    before:
      push_collision_move_result [us] _____________ 64512x   3.562
    
    after:
      push_collision_move_result [us] _____________ 72636x   0.831
    sfan5 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d709941 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f9bf15 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    703e616 View commit details
    Browse the repository at this point in the history