in reply to Re: Saving an array to a disk file
in thread Saving an array to a disk file

Thanks so much again for the reply, salva.

BTW, suppose I have two or more codes (containing your snippet above) running at the same time.
Will it be conflicting? If so, how can I avoid that?

Replies are listed 'Best First'.
Re^3: Saving an array to a disk file
by salva (Canon) on May 27, 2006 at 14:51 UTC
    As you can see from BrowserUk response to my previous post, it seems that in practice, the sort solution has better performance than the DB_File based one. I guess it's due to the sorting algorithm being more cache friendly (where cache = RAM).

    Anyway, answering your question: yes, you can have several processes running the code in my post at the same time, though, it would probably be slower than running them in sequence.