[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apple IIGS ROM 1 or ROM 3, which is better?
In article <OYSdnXwEJbZQuQjbnZ2dnUVZ_v6tnZ2d@comcast.com>,
Michael J. Mahon <mjmahon@aol.com> wrote:
> mdj wrote:
>> On Jul 2, 11:23 am, "Michael J. Mahon" <mjma...@aol.com> wrote:
>>
>>
>>>With object orientation comes a surplus of indirection. ;-)
>>
>>
>> At least you stopped short of saying that's a bad thing ;-)
>
> From the point of view of speed, *avoidable* indirection is a
> *very* bad thing. Memory latency is hundreds of processor
> cycles, at least.
>
> With good data organization, reasonable cache design, and a
> compiler that can prefetch object instances before use, much
> of the *simple* indirection cost can be amortized, but compiler
> designers tend to be relatively ignorant of what machines must
> actually *do* to execute their code. ;-(
>
> -michael
Actually, that's good news, not bad news - it means it's still worthwhile
to program in assembly language!!!!! ;-)
--
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://stjarnhimlen.se/