At least *try* to optimize this function.