In DHE, the dispatcher maintains a directory of cached compiled classes, and puts them on the classpath for workers. This can be a major runtime savings. We should offer a similar feature by passing in a directory at startup time.
Related, we should fix QueryLibrary.updateVersionString() to be deterministic (e.g. monotonically increasing versions) to allow for caching when we re-run a script that defines dynamic classes in the same order.
In DHE, the dispatcher maintains a directory of cached compiled classes, and puts them on the classpath for workers. This can be a major runtime savings. We should offer a similar feature by passing in a directory at startup time.
Related, we should fix
QueryLibrary.updateVersionString()to be deterministic (e.g. monotonically increasing versions) to allow for caching when we re-run a script that defines dynamic classes in the same order.