dannoura has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have a script which looks for instances of about 300 keywords in about 6,000 article abstracts. Needless to say, it's very slow. Which brings me to my question: what (if any) are the standard ways of speeding up processes like these?
Also, is there a way of measuring the execution time of perl scripts without letting the script complete its run?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: speeding up regex
by Abigail-II (Bishop) on Jul 18, 2003 at 09:27 UTC | |
by dannoura (Pilgrim) on Jul 18, 2003 at 09:50 UTC | |
by BrowserUk (Patriarch) on Jul 18, 2003 at 10:30 UTC | |
by Abigail-II (Bishop) on Jul 18, 2003 at 10:37 UTC | |
by arunp (Initiate) on Jul 18, 2003 at 10:55 UTC | |
by dbwiz (Curate) on Jul 18, 2003 at 15:20 UTC | |
by Abigail-II (Bishop) on Jul 18, 2003 at 11:12 UTC | |
|
Re: speeding up regex
by tilly (Archbishop) on Jul 18, 2003 at 17:19 UTC | |
|
Re: speeding up regex
by ajdelore (Pilgrim) on Jul 18, 2003 at 16:20 UTC |