Skip to content

Possible performance enhancement on NetworkingMessages::send_message_to_user #283

@newDINO

Description

@newDINO

Currently, send_message_to_user accepts the structure of NetworkingIdentity for its "user" argument. However, the memory size of NetworkingIdentity is quite large. If the send_message_to_user is not inlined during compilation, calling this method may cause overhead especially when the game calls it very often.

Changing it to passing a reference may improve performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions