This should be faster because appending to a list is O(1), and only amort. O(1) when appending to a vector.