On Sun, Sep 28, 2008 at 10:25 AM, Allison Randal <[EMAIL PROTECTED]> wrote: > Will Coleda wrote: >> >> On Sat, Sep 27, 2008 at 4:31 PM, Will Coleda <[EMAIL PROTECTED]> wrote: >>> >>> Is there a way to dynamically set the recursion limit? I have a spec >>> test for tcl that fails with the default limit of 1000, but works with >>> a higher limit of 10000. (I'm trying to find a lower # that works >>> now). I don't see anything externally visible in ParrotInterpreter. > > $P0 = getinterp > $P0."recursion_limit"(10000)
Ah. I saw that in the parrotinterpreter PMC, but didn't even think to try it since it was declared outside of the pmclass definition, and didn't have a METHOD on it. Thanks. > (See t/op/gc.t for an example in context.) > >>> If not, any objection to raising the limit (to whatever the smaller >>> number turns out to be) in include/parrot/sub.h ? >> >> 1242 is the minimum I need. Going with 1248 for now (moritz++) We can >> back it down once I have way to just increase it for tcl. > > Makes sense. It's an arbitrary value. > > Allison > -- Will "Coke" Coleda _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
