I was trying to optimize some code the other day, and luckily I was testing to make sure it was actually faster, cause it turned out it was slower.
Check out the video where I walk you through what I was doing, how easy it was to make the mistake, and why the tests saved me.
P.S. If you found this interesting, do me a favor and forward it along to anybody who might like to see it.