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)

(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
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev

Reply via email to