Path: chuka.playstation.co.uk!news From: "JohnT" Newsgroups: scee.yaroze.beginners Subject: Re: Plotting 2D Boxes in a 3D World (+ faster code hint!) Date: Fri, 15 May 1998 13:20:59 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 16 Message-ID: <6jhbut$f4o4@chuka.playstation.co.uk> References: <355a3dc2.2999054@news.playstation.co.uk> <355A67EA.137C@mdx.ac.uk> <355B0CD4.2A85@writeme.com> <355B86AD.3C0@manc.u-net.com> <6jg24u$f4o3@chuka.playstation.co.uk> <01bca867$ef75bda0$1eb6e9cd@lausauvege> NNTP-Posting-Host: nettech.demon.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3007.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3007.0 dr Z wrote in message <01bca867$ef75bda0$1eb6e9cd@lausauvege>... >This is a little off topic but now on Pentium and on Power PC processors, >using Y*320 instead of Y<<8 + Y<<6 is faster because of the cost of >stalling the processor and the less cycles used by the multiplication >instruction. And I agree that there is a lot of room for optimisation these >days. > This is only true if your compiler links in the FPU libraries. Granted, most do use an emulated library that first detects if an FPU is used and uses it if it is. JohnT