Vladimir

40%
Flag icon
The solution with map would be less efficient in Python 2, where the map function builds a new list with the results. But in Python 3, map is lazy: it creates a generator that yields the results on demand, thus saving memory—just
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview