That's genius too. I think a vector uses less memory than a list, so that would be better for memory consumption as well as speed. Assuming the order doesn't matter, of course.