ãã¤ã¦ã§ã¹ãæ¥è¨çµç±ã§ããGroovy 1.8 beta3 ããClosureã®ã¡ã¢åãã§ããããã«ãªã£ããã¨ã®ãã¨ãç¥ããæ å ±ãæ¢ãã¦ã¿ã¾ããã Implement closure memoization, like in GPars ãèªãã¨ã¯ãã¼ã¸ã£ã«ä»¥ä¸ã®3ã¤ã®ã¡ã½ããã追å ããã¦ãã¾ãã memoize() memoizeAtMost(n) memoizeAtLeast(n) memoizeBetween(m, n) ã¡ã¢åã¨ä¼¼ããããªãã¨ã¯åã«ãMapã®ããã©ã«ãå¤è¨å®(Map#withDefault{})ã使ã£ã¦ãã£ã¦ã¿ãããããã¨ãããã¾ããããè¦ã¯ãã©ã¡ã¼ã¿ã«å¿ããå¼ã³åºãçµæã®ãã£ãã·ã¥ã§ãã ä»åå®ç¾©ãããã¯ãã¼ã¸ã£ã®ã¡ã½ããmemoize()ãå¼ã¶ã¨ãããã£ãã·ã¥ãããã¼ã¸ã§ã³ã®ã¯ãã¼ã¸ã£ããä½ã£ã¦è¿ãã¦ãããããã§ãã ããã¥ã¡ã³ãã³ã¡ã³ããèªãã¨ããã£ãã·ã¥ã¯L
{{#tags}}- {{label}}
{{/tags}}