Table 5: Performance improvement for fixed with the optimization of constant vector multiplication and vector-vector addition.

Original Optimization Speedup

256 0.72 0.53 1.36
512 2.86 1.75 1.63
1024 11.36 5.60 2.03
2048 45.32 18.65 2.43
4096 181.01 66.71 2.71