Hi
After reading this sentence in the doc of 'forward' :
"If you do not specify the CONTINUE option, the language processor
immediately exits the current
method before forwarding the message"
I expected to benefit of a so-called "tail call elimination", but that's not
the case... I get a stack overflow.
So, no way for TCE ?
--------------------------
.test~loop
::class test
::method loop class
use strict arg value = 0
say value
forward array (value + 1)
--------------------------
Regards
Jean-Louis
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel