You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Srinath Perera <sr...@wso2.com> on 2010/06/02 09:40:05 UTC
Why we do not Keep data as Strings inside AttrImpl of DOOM
Hi All;
I am profiling DOOM with WS-Security and noticed, we spend about 4% of
all time with large messages on
AttrImpl.getNodeValue()->...StringBuffer.toString(). Can't we keep
that value as a String and avoid that conversion and memory. Also note
that most of the time, we receive values as Strings.
Thanks
Srinath
--
============================
Srinath Perera, Ph.D.
WSO2 Inc. http://wso2.com
Blog: http://srinathsview.blogspot.com/