Hi all,
I found ProxyGenerator is instantiated only in tests(i.e. `new
ProxyGenerator()`) and in the ProxyGenerator itself[1]. In order to share
the adapter cache globally[2] and maximize the usage of the cache, how about
make ProxyGenerator singleton? In addition, how about increase the default
size of the cache?(e.g. 64)
Any thoughts?
Cheers,
Daniel.Sun
[1]
https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/util/ProxyGenerator.java#L69
[2]
https://github.com/apache/groovy/blob/master/src/main/groovy/groovy/util/ProxyGenerator.java#L77
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html