JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
712 stars 114 forks source link

Make nearby_ids iterator slightly faster #986

Closed Tortar closed 4 months ago

Tortar commented 4 months ago

just for fun I tried to make it a bit faster, 5% of flocking model time is spared with this change, not really much :D