Alex Buzunov thinks this is interesting: peak memory: 71.04 MiB, increment: 0.00 MiB From Comprehensions and generators from Python High Performance - Second Edition by Gabriele Lanaro Publisher: Packt Publishing Released: May 2017 Note Does not work like this in Python 2.7 Share this highlight http://learning.oreilly.com/a/python-high-performance/19353269/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of Python High Performance - Second Edition and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.