Subject | Re: [ib-support] Recursive procedure |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-28T08:03:09Z |
> IB does _not_ only allow 1000 calls. It limits the depth of theI would even go so far as to say that any recursive design that
> return stack to 1000 layers, which is a very different thing.
> Recursive procedure are extremely useful, and I would guess
> that in 99.9% of cases where recursive procedures are
> used the depth does not exceed 20.
requires a depth more than approx 20 should be reconsidered. There
are algorithms available for avoiding recursion, or if you insist on
recursion you can always implement your own stack mechanisms.
Geoff Worboys
Telesis Computing