Join Slack
Powered by
one thing that came to mind earlier.. is it possib...
# scripting
n
Nikky
01/22/2019, 12:34 PM
one thing that came to mind earlier.. is it possible to cache the script compilation results ?
👌 1
i
ilya.chernikov
01/22/2019, 1:24 PM
The caching is implemented in the API and in the host, but there are no default implementations of the caching itself. There are test ones though, so you probably can add some to your code quite easily:
https://github.com/JetBrains/kotlin/blob/1.3.20/libraries/scripting/jvm-host/test/kotlin/script/experimental/jvmhost/test/ScriptingHostTest.kt#L165
n
Nikky
01/22/2019, 8:56 PM
well this was way easier than expected, nice
Open in Slack
Previous
Next