This goes through seven iterations of optimization an algorithm in rust, comparing it to the equivalent c++ at each stage.