Reduce runtime by preallocating Mat or GpuMat

asked 2017-04-30 13:29:07 -0600

mondi gravatar image

Hallo community,

will it reduce the runtime of a complex application when I preallocate the memory for Mat or/and GpuMat? Or will the compiler do his magic and will optimize the complete program in this fashion with I have to think of it.

Best,

Manuel

edit retag flag offensive close merge delete