The JK-FF table lookup is actually slower than the static inline function. Need to make logprintf() global for a static member that needs debug output.