Skip to content

Performance improvements #2163

@tornac1234

Description

@tornac1234

Describe the issue

  • virtual colliders (VirtualCyclops.CreateColliderCopy) take some time to be built (they only need to be built once then they're cached): they use reflection and graph algorithms. It takes a total of ~10ms to build the 32 different constructables that can be built at the same time when starting a game with already those placed in a cyclops. To avoid performance impact during gameplay, the caching is done during initial sync (VirtualCyclops.InitializeConstructablesCache). Added in PR Excellently improve player movements in Cyclops #2154

"Maybe we deem it not necessary at release. Or if the release candidate runs bad, we can look at these performance issues."
Suggested by @Measurity

(NB: edit this description to add more things)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Complexity: hardRequires deep understanding and/or hard to setup and verify

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions