Here are a better set of patches for Rakudo. They don't duplicate the check
for $p 0, and they avoid calling nqp::elems(), by assuming that nqp::atpos()
safely return nql::null() for indices beyond the end of the array.
(Which Parrot does. Is any of this spec'd anywhere?)
The NQP patches remain
On Mon, Feb 11, 2013 at 09:56:31AM +, Nicholas Clark wrote:
Here are a better set of patches for Rakudo. They don't duplicate the check
for $p 0, and they avoid calling nqp::elems(), by assuming that nqp::atpos()
safely return nql::null() for indices beyond the end of the array.
(Which