11-09-2009 06:41 AM
we try to avoid dynamic allocation because of the nature of our system. if we run parallel_for during the initialization stage of our software, would it solve the problem? would the allocation of all the needed memory would be performed than?
11-09-2009 07:41 AM
Could you say more specifically what problems you try to solve by avoiding dynamic allocation?
11-09-2009 08:48 AM
One of our coding rules is trying to avoid dynamic allocation as much as we can, because during run time there is a possibility that the heap will not have enough memory to allocate. Our system can not allow this to happen (medical care system). So we try to find a way tobring down the amount of dynamic allocation in our code.
11-09-2009 10:58 PM