Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I actually kinda like that pattern in terms of readability, though I think a generator would outperform it.


If it’s a lot of data and part of a pipeline you’ll get memory saving. 1,000 lines and reading from a CSV it won’t matter really.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: