Deviopath › Swift

Clone an Array

Hard · Performance

Return a clone. runClone mutates index 0 of the clone to 99 and returns [original0, clone0] (or [0,0] if empty). Write clone used by runClone.

Next: Hottest Line