cancel
Showing results for 
Search instead for 
Did you mean: 

When to do nothing

SJT
Contributor III
Contributor III

A common beginner mistake is to specify iteration when it is already implicit in q’s operators and keywords. This is a shame, because implicit iteration is almost always the fastest – and speed is what you came for, right?

A new article on code.kx.com explores Implicit Iteration – enjoy!

2 REPLIES 2

davidcrossey
Moderator Moderator
Moderator

As the proverb goes "less is more". Another great read, thanks Stephen 🙌🏻 

fbodon
New Contributor II
New Contributor II

Another excellent paper - thanks Stephen. You mention that iterators iterate through lists and maps. We know that tables are lists, still, it may be worth mentioning explicitly that implicit iteration works on tables as well?