View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 06-13-2014 , 20:16   Re: Creating static inside loop
Reply With Quote #5

Let me be more specific. I understand the scope and I know that the memory allocation for a static is not released until the plugin is unloaded. That is not the question.

Is there some kind of function that checks if the memory has been allocated that will run every time i try to create the static inside of the loop? Will this create extra work during runtime at each loop execution that should be avoided?

I'm not using it either way. It will only make things more complicated. Now it's just curiosity.
__________________
Black Rose is offline