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: References: <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 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++