Skip to content
quotesby

About this quote

What does it mean?
The quote likens scanning an associative array to using an overkill weapon, highlighting inefficiency.
In plain terms
Scanning an associative array is like using a loaded Uzi to club someone.
What can you take from it?
Choose appropriate algorithms for data structures.

Where it applies

  • large dataset processing
  • real‑time systems

Putting it to work

  • use indexed lookups
  • avoid linear scans

Questions to consider

  • When is a simple approach sufficient?
  • How do you decide algorithm complexity?

Another view

Sometimes linear scans are acceptable for small data.

More from Larry Wall

  1. You have to admit that it's difficult to misplace the Perl sources. :-)

    Permalink to quote #58
  2. Well, enough clowning around. Perl is, in intent, a cleaned up and summarized version of that wonderful semi-natural language known as 'Unix'.

    Permalink to quote #60
  3. What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?

    Permalink to quote #57

Related quotes

  1. To add speed, add lightness.

    Colin ChapmanColin Chapman quote #4
  2. 'Without the hard little bits of marble which are called 'facts' or 'data' one cannot compose a mosaic; what matters, however, are not so much the individual b…

    Arthur KoestlerArthur Koestler quote #6
  3. We're not the Grateful Dead or Pink Floyd. We're Linkin Park, and we cut all the fat out. We don't do guitar or drum solos.

    Chester BenningtonChester Bennington quote #13