Merge pull request #2136 from orsenthil/patch-2

memoize not memorize
This commit is contained in:
Geoff Liu 2016-02-15 14:18:37 -05:00
commit 7b15495a06

View File

@ -280,7 +280,7 @@ def clos = { print it }
clos( "hi" )
/*
Groovy can memorize closure results [1][2][3]
Groovy can memoize closure results [1][2][3]
*/
def cl = {a, b ->
sleep(3000) // simulate some time consuming processing