for those who work a lot with an data in gawk, I highly recommend a library with functions for working with an arrays.
library file _arr.mod is available for downloading from
https://github.com/digics/gawklib
small documentation in file _arr.rtf is also available.
function's implementation is totally ready for very large data.
the library isn't requiring any initializations. just @include "_arr.mod" at any point of your's gawk projects
overwiew:
_reta() - joining array's elements
_retas() - joining array's elements with separator string
_retab() - joining element-pairs of the two arrays
and more...
check out the PERFORMANCE part of the documentation file and rate the performance from the champion =)
kind Regards
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)