Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimize list comprehension with known length #2844
Many list comprehensions are of the form
but Cython does not take advantage of the fact that the length is known to be
the second variant can be 25% faster for a moderately-sized list.