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 / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Leave a Comment

Please sign in to add a comment. Not a member? Join today