implement faster GroovyEngine