in reply to Stable mixing of 2 arrays into a 3rd

You protect against picking from @t1 when it is empty but not against picking from @t2 when it is empty.

!@t2 || @t1 && (rand < .5) ? ...

- tye