That yields the following scores: Python : 1 1 1 1 1 4 2 4 2 4 => 21 Ruby : 1 1 2 2 2 2 2 2 2 2 => 18 Arc : 1 3 2 3 1 4 2 4 4 8 => 32
15 is the best possible score. This is meant as succinctness benchmark for the index and slice/cut operations, which are extremely common.