groovy-trampoline-memoize-specs
This project demonstrates via a series of Spock specifications the usage of the trampoline and memoize language features available in Groovy 1.8. It also covers two ways of combining trampolining and memoization (i.e., memoization of the top-level trampolined call, and memoization of each individual trampolined call).