Re:Comparing C and C++ usage and performance with a real wor...
by mcguire on Sunday September 03, 2017 @04:14PM
(#15163599)
"Valgrind can tell you where non-freed heap blocks have been allocated and a fix should not be complicated."
In theory, theory and practice are the same. In practice, they aren't.
You can't compare performance If one program doesn't free memory, which obviously "saves" time. Valgrind can tell you where non-freed heap blocks have been allocated and a fix should not be complicated.