Not major, but combining the two logarithms should generally be faster: log(a*b) = log(a) + log(b)