Made Arr::first() and Arr::last() cater to the most common use cases performance wise.