Thanks Corion. I added few prints and used executed the script using -d option. which clearly shows that this is where the performance bottelneck is.
you said if $strfile contains regex meta charachters my code will not will not work as i might have thought... file name has "." before the extension of file. is this statement is valid even if i use hash?
In reply to Re^2: improve performance
by swissknife
in thread improve performance
by swissknife
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |