An amazing (to me) thing happened at work. A group of us were discussing a problem with a part of our product, and one of us came up with an idea so outside-the-box that I was really impressed. I mentioned that, and Edward said that the genesis of it had been in an idea that I'd mentioned just previously.

I'm not going to describe the problem in detail, nor why Long's idea would solve it; a tangential hint is that the program is written in Java, and that we impose deadlines on the occurrence of various events. I'm just going to show you the change, and let you be amazed along with me:

Old code:

New code:
or, in words, instead of the program waiting for one hundred milliseconds, it waits for fifty milliseconds, twice in succession.