diff options
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r-- | doc/gawk.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi index 78c4f198..d0654969 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -13414,6 +13414,14 @@ $ @kbd{gawk 'BEGIN @{} @print{} 4 4 @end example +As a side note, sorting the array indices before traversing +the array has been reported to add 15% to 20% overhead to the +execution time of @command{awk} programs. For this reason, +sorted array traversal is not the default. +@c The @command{gawk} +@c maintainers believe that only the people who wish to use a +@c feature should have to pay for it. + @node Delete @section The @code{delete} Statement @cindex @code{delete} statement |