The memset in the LRS predictor is initializing exactly 32 bytes, rather than the whole array. My fingers were clearly set to "automatic", and I typed "sizeof" rather than "size_t".
This shouldn't change results, as A is initialized as it is generated, but this could cause a heap overflow if v is small.
The memset in the LRS predictor is initializing exactly 32 bytes, rather than the whole array. My fingers were clearly set to "automatic", and I typed "sizeof" rather than "size_t".
This shouldn't change results, as A is initialized as it is generated, but this could cause a heap overflow if v is small.