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

As others have stated, functools.lru_cache has existed for quite some time.


Never realized you could turn off the maximum size in the `lru_cache`, actually. Maybe I'll have to read those docs more carefully haha.




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

Search: