Thanks for your reply.
It is this loop that takes most of the time. Unfortunately, the input image array can grow as much as 400k elements (files). I am hoping there is a better way to improve on the hash assignment and/or regexes.
Best!
In reply to Re^2: Optimize my foreach loop / code
by rmocster
in thread Optimize my foreach loop / code
by rmocster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |