data alignment (was Re: RISC data alignment, in comp.arch)

David Keppel pardo at june.cs.washington.edu
Thu Feb 18 08:01:59 AEST 1988


[ Compiler rearranges structs for better mem use and/or no holes ]

In article <2309 at umd5.umd.edu> chris at trantor.umd.edu (Chris Torek) writes:
>you throw the data items in a carry-sack and shake well, you
>have an unordered tangle of data.  Hence the proper name for
>an unordered aggregate type: a `bag'.

"Bag" is already defined (at least in Smalltalk ;-) as a set type that
allows replicated elements.  This also allegedly appears occasionally
in mathematics.

In a set, each element appears at most once.	{ Arf Barf Bork }
In a bag, elements can appear several times.	{ Arf Arf Barf Bork Bork }

>Next week: the `blender' datatype :-) .
Now _this_ I want to see!  ;-)

	;-D on  (Blender bender spender ender - no tab)  Pardo



More information about the Comp.lang.c mailing list