Description
I am writing a macro assembler in Java. Macros can be written by the user in
javascript. When assembling hundreds files using one JS engine and one context
per thread (I use multithreading) performance (per file) is impressive.
However when assembling one file, it really takes too much time, since all macros used
must be recombiled by GraamVM every time.
I am writing a script cache server so that the compiled code of a JS macro used in a previous run
and that was not change in the meantime , can be retrieved and reused during successive runs.
To do this I need access to the compiled JS code in a serializable format so I can cache it using this
server. I cannot find any information about such functionality, and I doubt it exists now.
Is there hope it will be available in the future?
Thanks....... Paolo