This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Stack overflow


Richard Polton <richard.polton@db.com> writes:

> I have observed a stack overflow in guile-1.3 during calculation of
> recursive procs. In particular
> calculating the 250th Fibonacci number fails with a stack overflow when
> using the slow recursive
> algorithm. It works fine in Perl.

Try

  (debug-set! stack 0)

and you'll be able to calculate the 250000000th Fibonacci number if
your machines memory allows...  :)

/mdj