Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Ackermann (was Re: language shoot-out)

From: joel:neely:fedex at: 6-Nov-2002 16:32

Hi, Romano, WARNING: Uneducated guess ahead... Romano Paolo Tenca wrote:
> What i do not understand well is why this stops at 1374: >
...
> result: ack41 m - 1 ack41 m n - 1
...
> and this stops at 2181 (ack41 3 9) >
...
> f2: ack41 m n - 1 > result: ack41 m - 1 f2
I might guess that in the earlier case, the left-hand eval of ACK41 is in some sense pending while the right-hand eval is being pursued, and thereby consuming some resources. In the second case, the eval of ACK41 M N - 1 is allowed to complete (with the result cached) prior to initiating the second eval of ACK41. Concurrent vs. serial. -jn- -- ---------------------------------------------------------------------- Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446