Skip to main content

Timeline for answer to Random Golf of the Day #1: Shuffle an Array by Sp3000

Current License: CC BY-SA 3.0

Post Revisions

8 events
when toggle format what by license comment
Feb 4, 2015 at 9:56 history edited Sp3000 CC BY-SA 3.0
added 22 characters in body
Feb 4, 2015 at 3:48 history edited Sp3000 CC BY-SA 3.0
added 40 characters in body
Feb 4, 2015 at 2:45 comment added colevk You can save another 2 bytes by making i=len(L) and putting the decrement at the beginning of the while loop.
Feb 3, 2015 at 23:56 comment added Geobits Awww... now my Java answer isn't beating this. I was quite happy for a very short while :(
Feb 3, 2015 at 21:54 comment added Sp3000 @xnor Yeah it is - thanks for that. I keep forgetting that while tends to be shorter than for for this sort of thing...
Feb 3, 2015 at 21:53 history edited Sp3000 CC BY-SA 3.0
deleted 2 characters in body
Feb 3, 2015 at 17:14 comment added xnor That range expression looks pretty cumbersome. Surely it's shorter to count down manually as while i:i-=1;...?
Feb 3, 2015 at 14:29 history answered Sp3000 CC BY-SA 3.0