How to increase executions speed of loops.?

view full story

http://www.unix.com – Quote: Hi Am Using AIX Ksh shell I have a Script that check totally 6 files for the past days files I have used Array ,While Loop and More if loops in the scripts. When i tried to run the Script for searching 365 days its takes nearly ten min to complete searching all the six files. I might be thinking that because of the more if loops its going too slow ? Can anyone help me how to increase the Execution Speed of the Script ? (HowTos)