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

I learned from a coworker recently that namedtuple is a much lower memory usage than a dictionary, so if you're dealing with lots and lots of data regularly, and lots of processes on a single machine, (i.e. memory is a concern) namedtuple might be a better choice.


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

Search: