Correct memory management

Correct memory management

When we ensured that memory was correctly freed in our program we degraded our performances.I realize it is necessary for a program to free memory, but will Intel check that programs do that correctly?My concern is that I would not appreciate my code to be beaten by a program that does not free memory.

3 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

In the description of the problem they say that the items to be evaluated are speed and scalability therefore if a code that does not free memory manage to be faster or more scalable than yours most probably it will beat you. But on the other hand a program that doesn't free memory might not even work with larger inputs.

You must free it because of the last thing grilomoto said.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi