How many instances of pygame.Surface
is it reasonable to use simultaneously?
More precisely, how costly is it to:
- Hold a surface in memory?
- Blit a surface onto another?
Consequently, how many surfaces can be kept in a list (or any other container), and how many surfaces can be blitted at every frame, with respect for other operations related to the application?
Since this might be too broad, here is a concrete situation. I want to make an animated background, with repeating patterns. I want every element of the pattern to move independently, so I use one surface for each of them.
If I want to display one hundred elements, is it still acceptable to use one surface per element?