Thread: how to make...
View Single Post
  #12  
Old 08-17-2001, 07:27 AM
Solareon Solareon is offline
Registered User
Solareon's Avatar
Join Date: Jun 2001
Location: In a corn field
Posts: 548
Solareon is on a distinguished road
Send a message via AIM to Solareon
Lightbulb Ummmmmm

Quote:
Originally posted by Tyhm
Yeah. The more common it is, the earlier it appeared, so consequently the simpler it is and the more it's been optimized over the years. I mean, take the * operator verses the for-next loop. You COULD compute x * y as
result=0;
for(i=0;i<x;i++) result+=y;
return result;
but it'd be less efficient because for-next loops are another step removed from the core language. In fact, the computer has to translate THAT into basically a multiplication operator just to cope!
I think Tyhm works for Intel
__________________
-Solareon Doll, thanks to BirdBird_0 for making it
-
First person to choke on a gummi bear and cough it up =)

AIM: SolareonX
flame me 24/7 roffel
-- l33t
JubieSaotomeX < Me
Reply With Quote