![Timing Performance: Looping versus LOC-ing](https://blogs.sas.com/content/iml/files/2011/08/t_loopvsloc.png)
The SAS/IML language is a vector language, so statements that operate on a few long vectors run much faster than equivalent statements that involve many scalar quantities. For example, in a previous post, I asserted that the LOC function is much faster than writing a loop, for finding observations that