delorie.com/archives/browse.cgi | search |
From: | bdarnell AT vnet DOT net (Ben Darnell) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Optimization |
Date: | Fri, 29 Nov 1996 02:28:25 GMT |
Organization: | Vnet Internet Access, Inc. |
Lines: | 20 |
Message-ID: | <57lho9$ovq@ralph.vnet.net> |
References: | <57hg9b$or5 AT kannews DOT ca DOT newbridge DOT com> <329C4CD4 DOT 7474 AT cornell DOT edu> <Pine DOT SUN DOT 3 DOT 90 DOT 961127095705 DOT 25056B-100000 AT coop10> <329C62F6 DOT 23F6 AT stud DOT warande DOT ruu DOT nl> |
NNTP-Posting-Host: | vts-char5-s23.vnet.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl> was overheard mumbling incoherently about Re: Optimization: >e.g a1 = b1/(x*y); c = x*y; > a2 = b2/(x*y); ===> a1 = b1/c; a2 = b1/c etc. > a3 = b3/(x*Y); Even better (the compiler may do this for you): c=1/(x*y); a1=b1*c; a2=b2*c; a3=b3*c; __ __ /> /_ /| / /\ /| /> /| / /_ / / /> /_ / |/ /_/ /-| / \ / |/ /_ /_ /_ http://users.vnet.net/bdarnell bdarnell AT vnet DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |