in reply to Re^2: Improving script that uses xmllint to validate
in thread Improving script that uses xmllint to validate

Hash gets created in the memory and will stay as long as the instance ( process ) that built is resident in the memory.

What am looking for is -
Process 'A' is spawned Build hash data structure with 1 M entries Assign a namespace ( example name : h-m1 ) to the above Now process 'A' dies off, but h-m1 should still be resident in the mem +ory that is they have to be resident even after the process which cre +ated terminates.
Now when another instance of process 'A' is spawned, without having to reconstruct the hash data structure with 1M entries, it should simply do a lookup using the namespace 'h-m1' ( or something like that )

Am trying to achieve some optimization on the time taken to construct the hash of 1M entries which is a big win for my script

Is that possible? Many thanks in advance :)