GitHub user danielsun1106 opened a pull request: https://github.com/apache/groovy/pull/721
Cache the parameterized info for better performance Finding the parameterized type is expensive, so it's better to cache it. You can merge this pull request into a Git repository by running: $ git pull https://github.com/danielsun1106/groovy parameterized-info-cache Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/721.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #721 ---- commit 19627bfe95e92e188f53ac1fa7f1f40d9b071b19 Author: Daniel Sun <realbluesun@...> Date: 2018-05-24T13:01:12Z Cache the parameterized info for better performance Finding the parameterized type is expensive, so it's better to cache it. commit 939e5ab50263d58a93facc3427cc06fc8cf4c6d8 Author: Daniel Sun <realbluesun@...> Date: 2018-05-24T13:08:06Z Sync the changes from apache/groovy and resolve conflicts ---- ---