You appear to be opening a new db connection and reading the same constant array each time through the loop. Try moving that part outside the loop.
After Compline,
Zaxo
In reply to Re: how to speed up program?
by Zaxo
in thread how to speed up program?
by cjacksonjr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |