Hello Monks,
I have to calculate number of all letters in files and accordingly increase count
I am using while loop for this
Does this makes my program little slow?... In such cases which one would be more faster tr/// or while?while ($string=~m{(W)}g){ $count=$count+($tbsz*0.7844); }
In reply to Which is more faster? While or tr/// by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |