When you execute
the minimum number of statements in the most efficient order, you
minimize the hardware resources that SAS uses. The resources that
are affected include disk usage, memory usage, and CPU usage.
Here are two techniques
to keep in mind:
-
Subset your data as soon as is
logically possible.
-
Process
your data conditionally by using the most appropriate technique.