Re:Loops in Python – Comparison and Performance
by voldacar on Thursday August 08, 2019 @07:50PM
(#20650109)
For performance purposes, is there something especially important about zipping the two arrays into one array of tuples before adding them?
[ Parent
| on HN ]
Re:Loops in Python – Comparison and Performance
by BerislavLopac on Friday August 09, 2019 @06:24AM
(#20652944)
Zip does not create an array, it creates a generator which returns a tuple on each pass.