Efficient way to vectorize the power function

the same topic has been discussed earlier Vectorizing power function - #4 by Bob_Carpenter - as I understood there is not so much gain in terms of computational time if the vectorization is used