This is just for my information and I don't really have much need for it... But, I would like to know anyway :D.
#1. Is a for or while statement faster than one another? As in, if someone put a for would it be faster (application-wise, not when their typing it) than a while statement?
Example:
for(i=0;i<string.length;i++);
OR
i=0;
while(i<string.length){
i++;
}
#2. Is it faster (application-wise, not typing) to use no { and just the ; or not? As in...
while(i<string.length){
i++;
}
OR
while(i<string.length)
i++;
#3. What is more efficient, if different, using a boolean for true/false or an int for 1/0?