henix / blog

some notes
0 stars 0 forks source link

Scala memoize #15

Open henix opened 10 years ago

henix commented 10 years ago

要改变函数定义的:http://stackoverflow.com/questions/16257378/is-there-a-generic-way-to-memoize-in-scala

只要改变递归函数定义的:http://michid.wordpress.com/2009/02/23/function_mem/