groovy/groovy-core — pull request #137 by PascalSchumacher (2013-02-10 13:40:13+00:00)
Title: GROOVY-5801: sql.firstRow() can be incredibly slow

implemented as suggested by Sam Perman

see: https://jira.codehaus.org/browse/GROOVY-5801