Yes.you are right.
I try to xor every 8 bit except the low 8 bit.
set _i item is a 32bit int.
I get the 25-32bit,17-24bit,9-16bit to xor to get a 8bit result and assign it to _j item.
the f1,f2,f3 runs well.It did the work,
but still need to be more efficient.
In my computer.
calculate _i from 1 to 1148576.
f1 used 5.2s~5.4s,
f2 used 4.2~5.2s,
f3 used 3.4~3.7s
but the ref rem way as post the 1st floor,
it use 2.2s~2.3s
In my first sense,I suppose bit cal is more efficient.but as 1st floor test,It take more time to cal.
anybody known how to efficient the script or the other method to do the job is welcome.
Thx.
Tips.
65280 FF00
16711680 FF0000