in reply to regarding Tie::File
Below is my code:
That code doesn't have 42 lines. Thus the error is coming from another program. As we can't see it, we can only guess as to what it might be.
As a side note, why are you using fork? Do you have a multiprocessor machine? Your single file is probably on a single hard drive and almost definitely on a single hard drive controller. Your bottleneck here is IO. As your algorithm doesn't support the overlap of lines, you can't even benefit from any OS-level caching.
I'm also not sure that Tie::File is fork safe. It might be. I don't know.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: regarding Tie::File
by xiaoyafeng (Deacon) on Jan 13, 2007 at 02:06 UTC | |
by chromatic (Archbishop) on Jan 13, 2007 at 02:15 UTC | |
|
Re^2: regarding Tie::File
by xiaoyafeng (Deacon) on Jan 13, 2007 at 02:34 UTC | |
by diotalevi (Canon) on Jan 13, 2007 at 03:38 UTC |