Replies: 3 comments 24 replies
-
You may use the recently merged new feature |
Beta Was this translation helpful? Give feedback.
-
Yes it is quite easy to cythonize individual functions. In fact, that is how pandas slowly moved most of their code from python to cython in the days before pandas 1.0. |
Beta Was this translation helpful? Give feedback.
-
I'm currently trying to integrate mesa-perf into projectmesa/mesa, via https://pypi.org/project/hatch-cython/0.0.1/. |
Beta Was this translation helpful? Give feedback.
-
Are large grids computationally burdensome? When building a 10000 x 10000 grid it takes about 1 min to build the grid. Is this normal? I suppose 10000^2 is a large number. My initial thought is that I would like to build the grid with 1 x 1-meter resolution. I'm I missing something? What are some best practices for sizing the grid?
`class CombatModel(mesa.Model):
Beta Was this translation helpful? Give feedback.
All reactions