Instead of compiling code repeatedly, you could call a PP closure generator from XS.
In reply to Re: (XS): returning an iterator. by ikegami in thread (XS): returning an iterator. by BrowserUk