Hacker News new | past | comments | ask | show | jobs | submit login

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.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: