Please sign in to comment.
ReifiedListIterator can be a PredictiveIterator
Since the list is already reified, we know how many elements there are. This is a significant speedup for things like `$foo.split(/\s+/).elems` as it can just return the elements of the list (in fact, the `.elems` part is now fully inlined into the caller).
- Loading branch information...