Re: How to reduce Zero Initialised region.
- From: "Samuel Stearley" <nyalll@xxxxxxxxx>
- Date: 31 Jan 2007 03:48:42 -0800
1. Am I right in doing this (passing pointer instead of making the data structure static) ?
That will make the executable larger. How much increase can be
tolerated?
2. Is there any alternative to this ?In my experience people use UINT32s everywhere because they don't want
to look old fashioned. I suggest studying the values assigned to
datums in these structures. Maybe a UINT16 would work equally well.
But don't go around sticking UINT8s in the middle of a data structure.
-Samuel S
.
- Follow-Ups:
- Re: How to reduce Zero Initialised region.
- From: Ajai Jose
- Re: How to reduce Zero Initialised region.
- References:
- How to reduce Zero Initialised region.
- From: Ajai Jose
- How to reduce Zero Initialised region.
- Prev by Date: Re: How to reduce Zero Initialised region.
- Next by Date: Re: myfree(p)
- Previous by thread: Re: How to reduce Zero Initialised region.
- Next by thread: Re: How to reduce Zero Initialised region.
- Index(es):