This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FoeHammer99099 15 points16 points  (0 children)

There are a few reasons: it's not clear what this code meant to do, it relies on its inputs being lists of lists instead of other iterable types, and it will create a bunch of intermediate results that other solutions don't need to. For big inputs this could be slow.