01-03-2008
2,
0
Join Date: Jan 2008
Last Activity: 5 May 2008, 5:43 AM EDT
Posts: 2
Thanks Given: 0
Thanked 0 Times in 0 Posts
Awk: Is it possible to release storage?
Hello,
Is it possible in awk to release storage that has been allocated?
I am reading two large similar text files and comparing them to create a delta. Each time I read a line from a file I store it in an array - one for each file. It is impossible to know in advance how far it may be necessary to backtrack up each file/array to re-establish correspondence, but once a new correspondence has been established all the old array elements are no longer needed. Can they be returned to the system to reallocate?
I am using gawk 3.1.5 from cygwin and running under Windows XP. (Please don't scream - I wish it was Unix, too!)