in reply to
Re^3: rand + shift || pop
in thread
rand + shift || pop
It's only O(1) if you remove from the start or the end.
Comment on
Re^4: rand + shift || pop
In Section
Seekers of Perl Wisdom