jseidl/virtuaplant

performance issues with large number of balls

Opened this issue · 0 comments

Hey, first of all: great work!

Your project helped me a lot with learning about modbus.
Also learned alot about python and pygame (so much I already made some other applications with pygame). So thank you very much for that.

But I'm having quite the performance issues on the oil refinery after running for a while.
As the number of balls gets higher, I start to get framerate drops.

I think it is linked to the iteration over every ball to draw/delete them, but I couldnt come up with a more efficient way of doing that. Are you planning to work on the performance of the oil refinery?