in reply to Nested loops of doom

So, you have code that, essentially, has a runtime of N^3 and you're wondering why its runtime slows down dramatically as N goes up? *blinks*

A few thoughts:


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?