Speed considerations
The documentation for the
blit
function discusses speed issues in detail.
In virtually all cases, producing
an off-screen image and
- Calling the blit function to copy the image onto
the screen
- Will be significantly faster than
- Constructing the image directly on
the screen one pixel at a time.