I think this was the exact thing that @lilvinz wanted to avoid with iterators. Apparently the .length() and [] operators are very expensive in these kind of lists.