Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
hey guys,
i need to run a regexp on a large file which will keep getting larger and larger. larger as in a few good GBs.
i need your advice on:
1. should i just drop perl regex' and use grep/sed/awk? i mean, would that be more efficient/fast?
2. what is the best way to regex the file? i mean, open it and read line by line and do the regexp
on it or put it all into an array? (probably not a good idea, right?)
thanks guys
i need to run a regexp on a large file which will keep getting larger and larger. larger as in a few good GBs.
i need your advice on:
1. should i just drop perl regex' and use grep/sed/awk? i mean, would that be more efficient/fast?
2. what is the best way to regex the file? i mean, open it and read line by line and do the regexp
on it or put it all into an array? (probably not a good idea, right?)
thanks guys
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl's ability to handle LARGE files
by dragonchild (Archbishop) on Nov 28, 2005 at 15:46 UTC | |
Re: perl's ability to handle LARGE files
by Fletch (Bishop) on Nov 28, 2005 at 15:58 UTC | |
Re: perl's ability to handle LARGE files
by marto (Cardinal) on Nov 28, 2005 at 15:49 UTC | |
Re: perl's ability to handle LARGE files
by sweetblood (Prior) on Nov 28, 2005 at 15:46 UTC | |
Re: perl's ability to handle LARGE files
by davido (Cardinal) on Nov 28, 2005 at 16:50 UTC | |
Re: perl's ability to handle LARGE files
by ikegami (Patriarch) on Nov 28, 2005 at 15:47 UTC | |
Re: perl's ability to handle LARGE files
by pboin (Deacon) on Nov 28, 2005 at 16:54 UTC |
Back to
Seekers of Perl Wisdom