055. ANY and ALL may not be the most efficient methods to compare arrays.#

topic: Conditionals

Note

This tip is a draft1.

ANY and ALL may not be the most efficient methods to compare arrays. They may generate a logical array the size of the input arrays or always test all elements, depending on how they are implemented. More from urbanjost:



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.