Write the "fastest" program to print an incrementing series of squares from a given input to a given input.
Example input:
-2
7
Example output:
4, 1, 0, 1, 4, 9, 16, 25, 36, 49
When using a "cryptic" language, please post the pseudocode, in addition to your program.
The entries will be judged on the most efficient algorithm.