Skip to content

Instantly share code, notes, and snippets.

@rcoh
Created July 20, 2012 21:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcoh/3153394 to your computer and use it in GitHub Desktop.
Save rcoh/3153394 to your computer and use it in GitHub Desktop.
while loop counting
var i,j,k = 0
var x = 0L
while(i < 10000) {
while(j < 1000) {
while(k < 1000) {
x += 1
k += 1
}
k = 0;
j += 1
}
j = 0
i += 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment