News for hackers. Stuff that matters.
Re:Optimising Memset and Memcpy by nadav256 on Sunday November 28, 2021 @07:53AM (#29368544)
Grep the code for rand_reset. The code uses a fixed seed, fixed sizes for all programs, stable nop baseline, etc. also the pointer indirection blocks compiler optimizations.
Re:Optimising Memset and Memcpy by gpderetta on Sunday November 28, 2021 @12:12PM (#29370631)
Indeed. i looked at the benchmark itself, but not the RNG.