View Single Post
Old 04-18-2012, 09:15 AM   #121
vocalid
Human being with feelings
 
vocalid's Avatar
 
Join Date: Sep 2009
Location: Middle of nowhere (where the cheese comes from)
Posts: 483
Default

Quote:
Originally Posted by Justin View Post
Haha, err, I guess we should probably just stick to what it is already?

Also I should note, you can use stack_peek(x) to both read or write the stack at arbitrary offsets, i.e:

Code:
x = stack_peek(2);
stack_peek(2) = y;
If you pass a constant to stack_peek(), it optimizes more, and it is faster.
wouldn't, shouldn't that be stack_poke(2) = y; ?

runs away, fast......
vocalid is offline   Reply With Quote