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

DotRecast creating tons of objects. #774

Closed
bryanedds opened this issue Apr 7, 2024 · 2 comments
Closed

DotRecast creating tons of objects. #774

bryanedds opened this issue Apr 7, 2024 · 2 comments
Labels
investigation a topic involving investigation navigation Related to Nav2d or Nav3d feature.

Comments

@bryanedds
Copy link
Owner

This is just for the small scene in TerraFirma -

image

Let's see if there's anything we or the maintainers of DotRecast can do to mitigate this.

@bryanedds bryanedds added the investigation a topic involving investigation label Apr 7, 2024
@bryanedds bryanedds added the navigation Related to Nav2d or Nav3d feature. label Apr 7, 2024
@bryanedds
Copy link
Owner Author

If we can't directly improve the RcSpan object count, maybe instead of caching a reference of it we can cache a reference to the likely much lighter debug drawing info that we compute from it here -

https://github.com/bryanedds/Nu/blob/master/Nu/Nu/World/WorldFacets.fs#L3090-L3198

@bryanedds
Copy link
Owner Author

Solved our local issue with the new NavBuildResultData type.

bryanedds added a commit that referenced this issue Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation a topic involving investigation navigation Related to Nav2d or Nav3d feature.
Projects
None yet
Development

No branches or pull requests

1 participant