Skip to main content
6 events
when toggle format what by license comment
Oct 25, 2012 at 21:18 history edited Silas Ray CC BY-SA 3.0
added 5863 characters in body
Oct 25, 2012 at 18:43 review First posts
Oct 25, 2012 at 18:49
Oct 25, 2012 at 18:29 comment added DSM The downside is that you couldn't short-circuit the same way at 8, I guess. You could islice to avoid making the slice copy, though.
Oct 25, 2012 at 18:28 comment added Silas Ray @DSM because I didn't think of it. :)
Oct 25, 2012 at 18:27 comment added DSM Why not use itertools.combinations(tiles,2)? [If you're sticking with brute force pairwise comparisons, I mean.]
Oct 25, 2012 at 18:23 history answered Silas Ray CC BY-SA 3.0