I also think arithmetics on ubytes should be done as ubytes etc to allow SIMD vectorization.
Array operations do use SIMD. The code for this is in druntime.
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/arraybyte.d
Brian Schott via Digitalmars-d Sat, 20 Sep 2014 02:01:49 -0700
I also think arithmetics on ubytes should be done as ubytes etc to allow SIMD vectorization.
Array operations do use SIMD. The code for this is in druntime.
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/arraybyte.d