If you run the script from the command line how long does it take to execute? The script doesn't look excessively slow. But loading 250k into your browser (over a telephone line) takes awhile.
On a style point, do you really need to create $data1, $data2, and $data3, only to load them into a hash later?
Dave
In reply to Re: Increase efficiency of script
by davido
in thread Increase efficiency of script
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |