restrict tell the compiler that this pointer (this array) is only accessible through this pointer in this function. Knowing that, the compiler can optimise more aggressively because there is no overlap with other pointer.
restrict