Oops, sorry, I forgot that the result of `chain(*list_of_lists)` is an iterator. Converting it into a `list` makes it slightly slower compared to `sum(list_of_lists,[])`. Will take your suggestion.