2 ms·
This is going to be highly dependent on the operating system, system architecture as well as the compiler and linker. But you could instrument your code to mea
by jschveibinz 5y ago
This is going to be highly dependent on the operating system, system architecture as well as the compiler and linker. But you could instrument your code to measure the time difference with and without. The malloc should result in shorter access times?