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

Batch / Prefetch / Despawn Systems #43

Open
3 tasks
nixpulvis opened this issue Sep 19, 2024 · 0 comments
Open
3 tasks

Batch / Prefetch / Despawn Systems #43

nixpulvis opened this issue Sep 19, 2024 · 0 comments

Comments

@nixpulvis
Copy link
Owner

nixpulvis commented Sep 19, 2024

  • So I guess I may need yet another layer between the game engine and the DB, so I can make an expensive query, then chunk up the result and load it in batches. This probably means we move to fetching and spawning in cubes (the spyglass will still be a sphere though)

See E:D’s loading batched 50Ly cubes:
IMG_0028

  • Additionally, we should predict motion of the spyglass and try prefetching stuff. We could start by always fetching just a bit more than the spyglass radius.

  • Finally, stuff outside of the spyglass for a while should be despawned.

nixpulvis added a commit that referenced this issue Sep 19, 2024
This is leading up to #43.
@nixpulvis nixpulvis changed the title Prefetch / Despawn Systems Dynamically Despawn Systems Sep 21, 2024
@nixpulvis nixpulvis removed the p-mid label Sep 21, 2024
@nixpulvis nixpulvis changed the title Dynamically Despawn Systems Prefetch / Despawn Systems Sep 22, 2024
@nixpulvis nixpulvis changed the title Prefetch / Despawn Systems Batch / Prefetch / Despawn Systems Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant