array-oriented code

noun phrase
UK /əˈreɪ ˈɔːriəntɪd kəʊd/
US /əˈreɪ ˈɔriəntɪd koʊd/

Code that works on whole groups of things at once instead of one at a time.

She wrote array-oriented code to add ten to every number in the list in one step.


OTHER MEANINGS

2. Code written in a language like APL or J that treats whole arrays as basic values.

APL programmers love array-oriented code because a single line can transform a whole matrix.

3. A style of coding that avoids explicit loops by applying functions to entire collections.

Switching to array-oriented code removed all the for-loops from his data pipeline.

4. Code optimized so operations run across many data elements in parallel.

The GPU speedup came from rewriting the simulation as array-oriented code.