Slow execution of the program with newest zig version

That looks exactly like it would trigger the issue I linked. It should be fixed by just doing

const sc_hist: i32 = (&self.sc_history)[me.toU4()][move.from][move.to];
cm_hist = (&self.sc_counter_table)[p_piece.toU4][parent.to][piece.toU4()][move.to];