ovidiu 02/04/08 22:42:36 Added: src/scratchpad/schecoon/lib rhino1.5r4-continuations-20020408.jar Removed: src/scratchpad/schecoon/lib rhino1.5r4-continuations-20020404.jar Log: Updated to the latest version from Christopher Oliver. This update has major improvements (excerpt from Christopher's email): 1) I modified the interpreter to lazily copy the call stack. This improves performance significantly when continuations don't return to their caller. 2) I modified the interpreter to implement the Continuation object's constructor and to provide the current function's continuation in that case. That way you can create and use continuations without "callCC". For now "callCC" is still provided by the shell but it can be trivially implemented in plain JavaScript now, like this: function callCC(fun) { var k = new Continuation(); return fun(k); } Revision Changes Path 1.1 xml-cocoon2/src/scratchpad/schecoon/lib/rhino1.5r4-continuations-20020408.jar <<Binary file>>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]