Skip to content

Conversation

@Tortar
Copy link
Member

@Tortar Tortar commented May 9, 2025

I was a bit upset by the fact that our game of life at https://juliadynamics.github.io/AgentsExampleZoo.jl/dev/examples/game_of_life_2D_CA/#Conway's-game-of-life allocated, with this allocations disappear completely and the model is 2x faster

Copy link
Member

@Datseris Datseris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds great. every time we add a custom iterator struct to grid space searches we get a bump in performance. That's how this whole business started actually back in v3 I think!

don't forget to bump patch version.

@Tortar
Copy link
Member Author

Tortar commented May 10, 2025

we already have the StructVector stuff in the middle of the changes so I think we just need to wait for the release

@Tortar
Copy link
Member Author

Tortar commented May 10, 2025

yes indeed it's actually a bit of a pity we need custom iterators for performance :Q

@Tortar Tortar merged commit 1d7218f into main May 10, 2025
6 checks passed
@Tortar Tortar deleted the Tortar-patch-1 branch May 10, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants