perf: hoist ECS store lookups outside realize loops #713
No reviewers
Labels
No labels
Context: Async
Context: Bug
Context: CI
Context: Dependencies
Context: Documentation
Context: Enhancement
Context: Example
Context: Macro
Context: Runtime
Difficulty: Easy
Difficulty: Hard
Difficulty: Medium
Platform: Android
Platform: iOS
Platform: Linux
Platform: macOS
Platform: Web
Platform: Windows
Type: Discussion
Type: Evaluation
Type: Tracker
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SakulFlee/Orbital!713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "perf/realize-hoist-store-locks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In realize_cameras and realize_models, get_component_store calls for
dirty/realization flags were inside the per-entity loop, acquiring
a lock and performing a HashMap lookup on each iteration. Now these
stores are looked up once before the loop and reused.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.