Skip to content

Cache NetworkTime.PhysicsFactor #10

Description

@quickstraw

Each time NetworkTime.PhysicsFactor is called, and a cross-language call happens, which takes up a small but noticeable amount of time. Using dotTrace, these calls take up 1.93% of time for my own game. Caching this value in my own project has eliminated this to <0.01% of time.

I'm not sure if this number is ever recalculated during runtime, so maybe this would not fix this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions