Continuations in warped scripts

If a continuation is captured in a warped script, when the continuation is ran, it will run warped.

For example, in my sorting algorithms project, I made a block called "yield" that saves the current continuation in a global variable called "yielded" for it to be ran again later. It would make sense that if the captured continuation was inside a warp block (which is always, the yield call is only done inside warped blocks), then running it would be warped. But it doesn't do that, so I had to put a warp block around the block that runs the continuation. If you remove that warp block then the algorithms run slower.

Hmm. Maybe that's a misfeature, but you point out an easy workaround, and if it were the other way there wouldn't be a workaround to de-warp it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.