http://onestepback.org/articles/groovy/groovyspeed.html

If you read the entire article above please note that closures have indefinite extent , not dynamic extent.