I originally wrote the code ( http://stromberg.dnsalias.org/~strombrg/treap/ ) for CPython, where the recursion depth was too low out of the box. It sounds like on pypy, I might actually be decreasing the recursion depth.
There probably should be a "set recursion depth to at least..." function. Or I should getrecursiondepth and inspect before "increasing". On Sat, Dec 11, 2010 at 9:10 AM, Leonardo Santagada <[email protected]> wrote: > IIRC nothing, pypy knows how big the stack is (if you are using it > limit stack size and not get a core dump). > > On Sat, Dec 11, 2010 at 2:41 PM, Dan Stromberg <[email protected]> wrote: >> BTW, what's going on with the deprecation of sys.setrecursionlimit? >> What should I use instead? >> >> /home/dstromberg/src/home-svn/backshift/trunk/treap.py:40: >> DeprecationWarning: setrecursionlimit deprecated >> sys.setrecursionlimit(min_heap_size) >> _______________________________________________ >> [email protected] >> http://codespeak.net/mailman/listinfo/pypy-dev >> > > > > -- > Leonardo Santagada > _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
