edwinRNDR
02/12/2020, 3:04 PMBasicJvmScriptingHost
and dependenciesFromCurrentContext(wholeClasspath = true)
and one repeatedly loads the same script with small changes?ilya.chernikov
02/12/2020, 4:26 PMedwinRNDR
02/12/2020, 5:00 PMedwinRNDR
02/12/2020, 5:03 PMBasicJvmScriptingHost
the latter is actually a bit faster. I use both by creating new scripting engines for every instance. (https://github.com/openrndr/orx/blob/master/orx-olive/src/main/kotlin/ScriptObjectLoaderJSR233.kt vs https://github.com/openrndr/orx/blob/master/orx-olive/src/main/kotlin/ScriptObjectLoaderKSH.kt)ilya.chernikov
02/12/2020, 5:04 PMAre there any tools for adding jars using regexp matching in place?No, unfortunately not. But seems easy to do in the configurator using
updateClasspath
call.ilya.chernikov
02/12/2020, 5:05 PMedwinRNDR
02/12/2020, 5:20 PMilya.chernikov
02/12/2020, 5:21 PMedwinRNDR
02/12/2020, 5:22 PM