static mem on dll side

Started by
1 comment, last by vesoljc 20 years, 2 months ago
if dll is producing dynamic objects, is it wise to create a static object buffer? how big can it be?
Abnormal behaviour of abnormal brain makes me normal...www.zootfly.com
Advertisement
Provided that you obey all the normal rules for DLL interaction, creating objects from a static buffer in the DLL should be no better or worse than creating it in the exe, with the exception that the DLL can be unloaded if none of the objects are needed, deallocating the storage completely.
does static memory provide any other bonuses besides allocation speed?
Abnormal behaviour of abnormal brain makes me normal...www.zootfly.com

This topic is closed to new replies.

Advertisement