Andrzej Jan Taramina wrote:

I am curious if there is any performance impact of leaving in unused components (generators/transformers/serializers/etc.) in my main sitemap?

My main app sitemap uses the full sitemap example from the distribution, and so has a lot of extraneous stuff defined in it. Should I go through it with a fine-tooth comb and remove the unused stuff?



The main impact of unused components is on memory, because classes are loaded and pools initialized (unless you specify pool-min="0").


Performance-wise, the only impact can be on component hash-table lookups since their size is larger. But considering that HashMap automatically grows its bucket array, this should be really negligible.

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com




Reply via email to