News for hackers. Stuff that matters.
Re:Python 3 Features by peaton on Sunday June 29, 2014 @12:53PM (#7961638)
Could somebody explain what all the hype is about generators? Why is this better practice? Optimization, readability, what's up?
Re:Python 3 Features by abuddy on Sunday June 29, 2014 @01:43PM (#7961797)
It's about RAM usage. I strongly encourage you to read this: https://wiki.python.org/moin/Generators.
Re:Python 3 Features by peaton on Sunday June 29, 2014 @02:09PM (#7961887)
I see, great! That is exactly what I was looking for. Thanks!