Writing to memory is much faster...

Writing to memory is much faster than writing to the screen.

The thousands of calls to the putpixel function in Listing 3 execute very quickly.

This allows the outer loop in Listing 3 to terminate very quickly.

This largely explains the significant improvement in speed provided by this program relative to the program in the previous lesson.