Date: Thu, 18 May 2000 12:52:56 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: kalum AT roadrunner DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: Right shift In-Reply-To: <3922EECF.28C0AF67@mtu-net.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 17 May 2000, Alexei A. Frounze wrote: > night DOT walker AT tiscalinet DOT it wrote: > > Yes, i know the platform-sensitivity of bit-shifting, but, in the case, > > i'm working just on a little demo prog. Changing some divisions with > > right-shifting DOES improve the speed (from 3/4 fps to 4/5 fps on my > > P90) with no errors. > > I will be glad to upload you the src (needs ALLEGRO lib). > > IMHO Your code must be inefficient. My current 3d engine runs at about > 40...50FPS on P90 and about 10FPS on 484dx2-66 which is pretty slow for 3d. Maybe it is because he uses the Allegro library..It is a great library, but some aspects like the sound mixing code for example is way to slow...the 3d routines are also slow IMHO. Maybe this is because allegro has to handle a lot situations that the code has to be slow...... Kalum Hi, I'm a signature virus. plz set me as your signature and help me spread :)