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 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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.

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo