Improve Performance Quick and Cheap: Optimize Memory and Upgrade to Ruby 2.1

Optimization