Ryan Rampersad
Opinions, Thoughts and Ideas - PHP, Java and Javascript
  • Home
  • About
  • Contact
Browse: Home / loop

loop

Decrement Loop Speed

By Ryan on June 28, 2009

One thing I’ve heard a couple of times in either a trac ticket or in a forum thread is that we should all switch over to a decrement-style loop. Why? Simply because it’s faster. (We’ll ignore the time it takes to realize that you can actually loop down to zero.) I’ve wondered if it really [...]

Posted in Browsers, Java, Javascript | Tagged Browsers, decrement, increment, Java, Javascript, loop, speed | Leave a response

Labels in Java

By Ryan on November 3, 2008

My WarGame.java program required me to break out of two loops if a certain condition came up. Many programmers would say that you should fix your logic if you’re going to need to break out of two loops, but in this particular case, the solution seemed to be just that. In java, you’re offered the [...]

Posted in Java, Tips | Tagged break, enhancement, feature, hint, Java, loop | 1 Response

Recent Posts

  • Update Ubuntu via Terminal
  • How to install libmysqlclient15off on Ubuntu 10.04
  • The Great iPhone Price
  • My Top 5 AP Computer Science Tips
  • Ubuntu Username/Password On Live CD

Tags

(fluff)Grabber ap Apple array beta blog blogs Browser Browsers CakePHP chrome CSS Design Error exam facebook Firefox fluff friends fluff grabber free Google html ib iGoogle internet explorer Java Javascript linux Microsoft model Mootools music PHP plurk review School SEO solution string Tips ubuntu update Windows windows 7 Wordpress

Search

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
QC: