I counted the cycles for you method and it comes to around 50 plus a conditional. Built in function should be around the same.