News for hackers. Stuff that matters.
Re:Removing Python 2.x support from Django for version 2.0 by dr_zoidberg on Thursday January 19, 2017 @02:22PM (#13438677)
You forgot functools.lru_cache. I've found in some Python 2.7 projects you can speed things up with a hacky dictionary-cache, but the proper functools.lru_cache gives better results and is far more flexible.

There are no comments on this comment yet.