Add special case for lists in Stream.cycle
Merge pull request #2666 from hamiltop/stream_cycle_performance

Add special case for lists in Stream.cycle