memoize not memorize

Let's use the correct term instead of the tongue-in-cheek term denoting the same concept.
This commit is contained in:
Senthil Kumaran 2016-02-15 11:03:10 -08:00
parent 712c9f342f
commit 1d785f8e84

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