Ran the following Java snippet which showed a big performance difference. Java 11.0.9.1 on Ubuntu 18.04.
With condition, like c = (res[i][j] >= 64)? 1 : 0;
c = (res[i][j] >= 64)? 1 : 0;