Rather than asking a lot of somewhat random questions, maybe you'd be better off taking jbert's advice and using Devel::DProf on your script. Then you'll know what to focus on to get the most improvement.
Comment on Re: Optimizing a web application for the best performance