Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
peaton
· 12y ago · 0 comments
Could somebody explain what all the hype is about generators? Why is this better practice? Optimization, readability, what's up?
Comments
[–]
abuddy
12y ago
It's about RAM usage. I strongly encourage you to read this:
https://wiki.python.org/moin/Generators
.
[–]
peaton
OP
12y ago
I see, great! That is exactly what I was looking for. Thanks!