simple-Flocking-simulation-python-pygame icon indicating copy to clipboard operation
simple-Flocking-simulation-python-pygame copied to clipboard

Ideas for optimization

Open Josephbakulikira opened this issue 3 years ago • 0 comments

Here is an idea of how you can optimize the code to run much faster. instead of using the matrix multiplication that i wrote , you can use numpy arrays and numpy matmul. and for a faster search you can try to implement a QuadTree for a quick spacial search... ✌

Josephbakulikira avatar May 14 '21 00:05 Josephbakulikira