Quote:
|
Originally Posted by xAndrewx
Skyld is only doing what is right, I guess most of the posts were pointless.
|
They were. But he should have been more careful when editing my original post.
Quote:
|
Originally Posted by jake13jake
Things that you can store as boolean values rather than strings or integers makes things run faster (ex. use client.cx = true instead of client.cx = "on"). Using bitwise operators also makes things work faster, etc. (ex. (x|y) in range) rather than x in range && y in range.
When you can, use addition instead of multiplication
ex. do
for (i=0; i<size; i+=10)
showimg(201,image,x,y);
for (i=0; i<size; i++)
showimg(201,image,x*10,y*10);
also, when possible work in powers of two.
|
Let me be the first (and probably last) person to thank you for that beautifully rendered bit of pointless (and off-topic) information.