miyagawa/Hash-MultiValue — pull request #7 by ap (2012-02-13 15:52:54+00:00)
Title: Re-apply set method optimisation that was lost in 0.11

The change @ribasushi made to fix the crash on perls < 5.8.7 means that the start of the array gets copied even though it is invariant. I fixed the crash a different way, switching back to `splice`, but using `@{[]}` to force creation of a temporary array so that the source array is different from the destination array. I have confirmed that this fix prevents the segfault on 5.8.5, which otherwise occurs as reported. I will check earlier perls if desired.