www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/02/03:56:51

From: mvparvia AT delta DOT hut DOT fi (Mikko V.I. Parviainen)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro, pointers : how do I get line from BITMAP?
Date: 2 Jan 99 08:46:51 GMT
Organization: Helsinki University of Technology, CS lab
Lines: 20
Distribution: world
Message-ID: <mvparvia.915266811@snakemail.hut.fi>
References: <mvparvia DOT 915186926 AT snakemail DOT hut DOT fi> <368CAA68 DOT 5644E9EA AT alcyone DOT com>
NNTP-Posting-Host: delta.hut.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Erik Max Francis <max AT alcyone DOT com> writes:
>"Mikko V.I. Parviainen" wrote:
>>   b->line[y][x]
>> Functions well. However, the eight indirections (?) of b
>> for every cell do add significant overhead, so I tried to
>What?  I see only three here.

No, I meant that I have to do that line eight times per cell,
and have to calculate b->line eight times, when one time
would be sufficient. 

>Define a macro if it's really bothering you.

Well, a macro would not help the underlying problem :
I am doing unnecessary job here.
-- 
--
Mikko Parviainen
 IMTU tc+ tm++ tn+ ru+ ge++ 3i+ jt-- jd++ pi au st- ls kk hi++ dr++ as+
va+ so- zh+ da++ 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019