二分查找:逻辑驱动状态机

先预计算 states,再用 render(state) 映射到数组、指针、解释和日志。

目标值 31 · precomputed states

low0
mid4
high8