Another post I love is https://stackoverflow.com/questions/2908822/speed-up-the-loo... where the guy manages to speed up a function which will run for days to milliseconds.