groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <>
Subject About making ProxyGenerator singleton
Date Thu, 04 Jan 2018 14:49:43 GMT
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?



Sent from:

View raw message