Le 07/10/2014 11:26, Emmanuel Bourg a écrit :

> If nobody object I'll remove this cache, the impact on the performance
> is too important to enable it by default, and the static state smells
> like a quick and dirty implementation. This feature could return as a
> pluggable cache if someone wants to provide a patch.

I looked at the cache in ObjectType, this one keeps only 200 instances.
When parsing rt.jar it saved 92% of the ObjectType instances and ~13MB
of memory. The overhead was about 7% (820ms instead of 767ms).

I wonder if this one is worth keeping.

Emmanuel Bourg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to