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

[MP] Various performance optimizations #82777

Merged
merged 4 commits into from
Oct 10, 2023
Merged

Commits on Oct 10, 2023

  1. [MP] Optimize multiplayer NodePath caching

    Only use paths during network transfer.
    Use ObjectID instead of NodePaths for storing the Node <-> NetID
    relations locally.
    Faless committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    61cf7d1 View commit details
    Browse the repository at this point in the history
  2. [MP] Optimize internal authority checks

    We already know which MultiplayerAPI a certain Node uses, so we don't
    need to retrieve it via SceneTree every time.
    Faless committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    9ce4239 View commit details
    Browse the repository at this point in the history
  3. [MP] Avoid unnecessary internal ref/unrefs

    Access the various internal components (cache/replicator) via pointer,
    to avoid unnecessary overhead.
    Faless committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    311a272 View commit details
    Browse the repository at this point in the history
  4. [MP] Optimize internal SceneReplicationConfig access

    Use direct pointer addressing to avoid unnecessary refs/unrefs
    Faless committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    5df7577 View commit details
    Browse the repository at this point in the history