in reply to Formatting a large number of records
If each record needs to be processed on its own, there will be no gain by reading the whole file into memory before doing any processing. That road is more likely to make it take longer since you'll add page faulting and swapping to your existing problems.
About all you can do is concentrate on what's inside the loop. If you post some code, maybe we can give some advice.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Formatting a large number of records
by elbow (Scribe) on Dec 30, 2002 at 14:26 UTC | |
by gjb (Vicar) on Dec 30, 2002 at 14:35 UTC | |
by pfaut (Priest) on Dec 30, 2002 at 14:45 UTC | |
by Aristotle (Chancellor) on Dec 30, 2002 at 15:45 UTC | |
by Aristotle (Chancellor) on Dec 30, 2002 at 16:09 UTC | |
|
Re: Re: Formatting a large number of records
by shotgunefx (Parson) on Dec 30, 2002 at 14:15 UTC | |
by pfaut (Priest) on Dec 30, 2002 at 14:30 UTC |