Quickly Learn About High-Performance Python Generators With A Delphi Windows GUI App
January 25, 2021
Have you ever had to work with a dataset so large that it overwhelmed your machine’s memory? Or maybe we have a complex function that needs to maintain an internal state every time it’s called, but the function is too small to justify creating its own class. In these cases and more, generators and the Python yield statement are here to help.
Python Generator functions allow us to declare a…