Un-alignment in structures
Curt J. Sampson
jeff at alberta.UUCP
Thu Mar 28 18:07:11 AEST 1985
In article <9434 at brl-tgr.ARPA> sde at Mitre-Bedford writes:
>How about adding keyword(s) 'aligned/unaligned' to deal with the pointer
>alignment question? Of course, it would help to be able to specify a
>general (un)alignment default.
Ugh! The last thing we need is a couple more keywords. How about adding
it as a compiler option. The '-f' option would tell the compiler to
optimize code for fast running (ie, do alignment of structures so you can
access their elements fast), otherwise make the code small (don't pad
structures to save space). Adding two new keywords seems rather
unnecessary.
--
Curt Sampson ihnp4!alberta!jeff
"There is a theory which states that if every anyone discovers exactly what
the Usenet is for and why it is here, it will instantly disappear and be
replaced by somehing even more bizarre and inexplicable.
"There is another theory which states that this has already happened."
More information about the Comp.lang.c
mailing list