delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/14/06:24:24

From: Hartmut Schirmer <hsc AT techfak DOT uni-kiel DOT de>
Newsgroups: comp.os.msdos.djgpp,rec.games.programmer
Subject: Re: Any tips on optimizing C code?
Date: Wed, 14 May 1997 07:59:24 +0200
Organization: Technische Fakultaet, University of Kiel, Germany
Lines: 15
Message-ID: <337954BC.767E@techfak.uni-kiel.de>
References: <33775c59 DOT 19219875 AT news DOT cis DOT yale DOT edu> <01bc5f6f$c3000be0$cf1afec3 AT robert> <337865D0 DOT FB8 AT cornell DOT edu> <5la4ja$11b AT news DOT webspan DOT net>
NNTP-Posting-Host: xena.techfak.uni-kiel.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

quark(particle) wrote:
> and I have a Pentium. and a 486.  pentium is better
> with floting point numbers than the 486, but nothing
> beats clean integer math.

Well, if you're doing implicit integer math (like array access) modern
machines will excecute floating point instructions in parallel -
enourmous speed up on all matrix/vector like calculations.

Hartmut
-- 
Hartmut Schirmer                   | Phone: +49-431-77572-709  FAX:-703
Automatisierungs- & Regelungstech. | hsc AT techfak DOT uni-kiel DOT de
Technische Fakult"at,              | http://www.techfak.uni-kiel.de/~hsc
Kaiserstr. 2, 24143 Kiel, Germany  | PGP key via WWW, Key ID:6D84AEC1

- Raw text -


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