Hacker News new | ask | show | jobs
by akshayshah 235 days ago
Sometimes, sure - but sometimes, passing around a fat wrapper around a DB cursor is worse, and the code would be better off paginating and materializing each page of data in memory. As usual, it depends.