Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
loeg
· 3y ago · 0 comments
Why do you say so? It's equivalent to iterating indexes from 0 to N-1 of two (or more) lists with N elements and providing syntax sugar for those lists' elements at that index. This is O(N).
Comments
[–]
Existenceblinks
3y ago
True. I misread it, it's a zip pattern. I thought it was a fancy list comprehension.