
08-17-2001, 05:45 AM
|
|
Psionic Youth
|
 |
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
|
|
|
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! |
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."
"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
 - My pet, the Levelup Gnome
http://forums.graalonline.com/forums...&postcount=233
|
|
|
|