Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reduce runtime by preallocating Mat or GpuMat

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.