Live data from Hacker News

The fastest way to flatten a list in Python

chrisconlan.com

1–3 of 3 posts

Re: The fastest way to flatten a list in Python

#3
post #2

There’s also the less obvious but still I think quite well-known recipe that uses itertools.chain. How it compares speed-wise I don’t know.

Do you mind sharing? I'd like to add it here. https://github.com/chrisconlan/fast-python/blob/master/src/f...