Re: [RELEASE] fastcache

2014-06-27 Thread ptb
The 0.2 release is out! Python versions 2.6, 2.7, 3.2, 3.3, and 3.4 are now supported. On Wednesday, June 25, 2014 12:15:02 PM UTC-6, ptb wrote: > Hello all, > > > > I am pleased to announce the release of fastcache v0.1. It is intended to be > a drop in replacement for f

[RELEASE] fastcache

2014-06-25 Thread ptb
Hello all, I am pleased to announce the release of fastcache v0.1. It is intended to be a drop in replacement for functools.lru_cache but it's written in C so it's 5-10x faster. Currently Python >= 3.3 is supported. It is available on pip via: pip install fastcache Or on github: https://gi

Re: C-API proper initialization and deallocation of subclasses

2014-06-13 Thread ptb
up, that would great. On Thursday, June 12, 2014 10:39:27 PM UTC-6, ptb wrote: > Hello all, > > > > I decided to play around with the C-API and have gotten stuck. I went > through the Shoddy example > (https://docs.python.org/3/extending/newtypes.html#subclassing-other-t

C-API proper initialization and deallocation of subclasses

2014-06-12 Thread ptb
Hello all, I decided to play around with the C-API and have gotten stuck. I went through the Shoddy example (https://docs.python.org/3/extending/newtypes.html#subclassing-other-types) in the docs and tried to extend it by adding a method which creates and returns a shoddy instance. I dug aro

Re: Number of objects grows unbouned...Memory leak

2014-05-03 Thread ptb
Turns out one of the libraries I am using has a cache system. If I shut if off then my problem goes away... On Saturday, May 3, 2014 7:15:59 AM UTC-6, ptb wrote: > Hello all, > > > > I'm using Python 3.4 and am seeing the memory usage of my program grow > unbounded.

Number of objects grows unbouned...Memory leak

2014-05-03 Thread ptb
Hello all, I'm using Python 3.4 and am seeing the memory usage of my program grow unbounded. Here's a snippet of the loop driving the main computation opt_dict = {'interior':cons_dict['int_eq'],'lboundary':cons_dict['lboundary'], 'rboundary':cons_dict['rboundary'], 'mate

Re: JIT compilers for Python, what is the latest news?

2013-04-05 Thread ptb
Have you looked into numba? I haven't checked to see if it's python 3 compatible. -- http://mail.python.org/mailman/listinfo/python-list