[plt-scheme] Storing the result of a eval while in a continuation

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Tue Jul 10 04:51:12 EDT 2007

Dear All,

I wondered. HWiki has an plugin with code scheme evaluation.
This evaluation returns a lambda closure with context as a parameter.

This closure is called from hwiki.

Of course, being run in a servlet in the plt web server, the eval
takes place in a continuation. This continuation (custodian?) is
later cleaned up.

It would be nice to keep the lambda closure resulting from the eval
over continuations. It would speed up the code running in the plugin,
because it wouldn't need to be loaded and compiled each time.

Is it possible to store the code for later use (e.g. in a global Hash)?

--Hans





Posted on the users mailing list.