mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
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:
parent
712c9f342f
commit
1d785f8e84
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user