This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2013-04-26 03:43, Sebastian Huber wrote:
Use one memset() to initialize everything to zero. Set non-zero fields in a second step. There is only a small runtime overhead, but the code size is greatly reduced. This change assumes the NULL pointer and '\0' are encoded as zero bits.
This sounds like a candidate for PREFER_SIZE_OVER_SPEED, but AFAICS that would mean moving that definition out of configure.host and into sys/config.h.
Yaakov Cygwin Ports
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |