For loop and list comprehension performance

Posted on Fri 27 April 2018 in programming • Tagged with python

For loops are the de facto default looping mechanism for python and is a concept that almost all programmers are familiar with. However, if you've been around the python block a few times you've probably seen (and maybe dabbled in) list comprehensions from time to time.

The decision to use …


Continue reading