Re: How to reduce Zero Initialised region.



I mean passing an extra parameter to a function might increase code
size(text segment). Some additional code for sending the parameter
during function prolog. that is all the penalty right ?
but it will free some space of the ZI region when it comes to big
arrays.

Where else would the large array of structures be stored? In the
stack frame of caller so many levels up? How large is you stack?

.