in reply to Re: how to speed up program?
in thread how to speed up program?

Um, time has only 1 second resolution. For him to discover the time wasted, he needs to install Time::HiRes and then call gettimeofday.