Thanks for the reply. I had a hunch the compiler was just smarter than I was but I wasn't sure. It has been a while since I programmed much.
Type: Posts; User: PenguinLord
Thanks for the reply. I had a hunch the compiler was just smarter than I was but I wasn't sure. It has been a while since I programmed much.
I learned about loop unrolling a long time ago and got the sudden inspiration this morning to try it in action. So i whipped together this little program.
String s="";
for (int i = 0; i <...