Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Walkable neighbors lists should only be updated locally #968

Open
alice-i-cecile opened this issue Jun 15, 2023 · 1 comment
Open

Walkable neighbors lists should only be updated locally #968

alice-i-cecile opened this issue Jun 15, 2023 · 1 comment
Labels
generation World generation and procedural content performance Code go brrr
Milestone

Comments

@alice-i-cecile
Copy link
Contributor

This is currently updated globally, as correctness is easier to reason about this way.

However, there's no need to do this: only the tile and it's neighborhood should ever change.

This is a tricky change: we probably want more tests before attempting it in earnest.

@alice-i-cecile alice-i-cecile added the performance Code go brrr label Jun 15, 2023
@alice-i-cecile alice-i-cecile added this to the Scaling Up milestone Jun 15, 2023
@alice-i-cecile alice-i-cecile added the generation World generation and procedural content label Jun 15, 2023
@alice-i-cecile
Copy link
Contributor Author

The quadratic scaling impact is particularly severe during world generation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
generation World generation and procedural content performance Code go brrr
Projects
None yet
Development

No branches or pull requests

1 participant