[Python-Dev] C version of functools.lru_cache

2014-06-26 Thread Peter Brady
Hello python devs, I was recently in need of some faster caching and thought this would be a good opportunity to familiarize myself with the Python/C api so I wrote a C extension for the lru_cache in functools. The source is at https://github.com/pbrady/fastcache.git and I've posted it as a

Re: [Python-Dev] C version of functools.lru_cache

2014-06-26 Thread Peter Brady
Looks like it's already in the works! Nevermind On Thu, Jun 26, 2014 at 10:33 AM, Benjamin Peterson benja...@python.org wrote: You might look at https://bugs.python.org/issue14373 On Thu, Jun 26, 2014, at 08:38, Peter Brady wrote: Hello python devs, I was recently in need of some