This PR continues on the work of PR #11 (fixes #7), and adds a significant performance increase, whereby it mostly fixes #9. I say mostly, because I think there might still be room for improvement, if we manage to utilize precompiled javascript, instead of having to create a number of ScriptEngines. However, I think this provides for a good start, and a flexible base to build upon if we feel the need to add different transpiling strategies.
Seeing as this builds on #11, it would suffice to merge only this PR, but for the time being, I'll leave both open, so as not to loose any comments.
This PR continues on the work of PR #11 (fixes #7), and adds a significant performance increase, whereby it mostly fixes #9. I say mostly, because I think there might still be room for improvement, if we manage to utilize precompiled javascript, instead of having to create a number of
ScriptEngine
s. However, I think this provides for a good start, and a flexible base to build upon if we feel the need to add different transpiling strategies.Seeing as this builds on #11, it would suffice to merge only this PR, but for the time being, I'll leave both open, so as not to loose any comments.