in reply to how to merge many files of sorted hashes?
On the other hand, I'm still not clear on why you'd want everything in one file; much depends on how you're going to be using this file thereafter.
You may do just as well to, instead of copying the value out in step 6, just call tell() to get a disk position and record that instead. That way you can have a master file that associates every key with a disk position and a value from 1..n indicating which file it is, and then you're not having to copy any files at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to merge many files of sorted hashes?
by andromedia33 (Novice) on Feb 03, 2012 at 01:14 UTC | |
by wrog (Friar) on Feb 03, 2012 at 07:59 UTC | |
by andromedia33 (Novice) on Feb 03, 2012 at 16:35 UTC | |
by wrog (Friar) on Feb 03, 2012 at 22:47 UTC | |
by andromedia33 (Novice) on Feb 03, 2012 at 23:54 UTC |