From: tmoran@bix.com
Subject: Re: Problem to dramatize packed-array/rep-clause difficulties
Date: 1996/03/28
Date: 1996-03-28T00:00:00+00:00 [thread overview]
Message-ID: <4jdcf6$7gc@news2.delphi.com> (raw)
>Well what you are really talking about here is a repeated pattern of
>nine byte containing eight fields, so clearly the best approach ...
>if you have such a strange structure (it is one for which I have
Of course an array of n bit fields will always have the packing
pattern repeat after Least Common Multiple(n,8) bits, and thus
can be viewed as an array of LCM(n,8)/8 -byte records, each containing
LCM(n,8)/n fields. If access to the J-th of a packed array of n-bit
items is most efficiently implemented on a particular machine by using
a case statement on the J/(LCM(n,8)/n)-th group, then by definition a
'smart' compiler for that machine does it that way.
next reply other threads:[~1996-03-28 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-28 0:00 tmoran [this message]
1996-03-28 0:00 ` Problem to dramatize packed-array/rep-clause difficulties Robert Dewar
-- strict thread matches above, loose matches on Subject: below --
1996-03-28 0:00 tmoran
1996-03-27 0:00 tmoran
1996-03-27 0:00 ` Robert Dewar
1996-03-27 0:00 ` Doug Rogers
1996-03-27 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox