It may be that the execution time of sqrt is the same as the execution of pow. But in normal case sqrt should be faster than pow.