As you have been told repeatedly already, first find out where your script is slow. In many cases, reading the data from disk is the slowest part. The best way to make reading from disk faster is to buy faster storage.
Using threads will usually not make reading from storage faster, as it increases the administrative overhead while still leaving the bottleneck unchanged.
In reply to Re: Simultaneously process the multiple files at the same time
by Corion
in thread Simultaneously process the multiple files at the same time
by senthil_v
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |