Is there a more efficient way to get the last n elements than to coerce the entire thing to an array?