[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    XObj's array_setter performance
From:       Davanum Srinivas <davanum () gmail ! com>
Date:       2006-01-06 16:08:29
Message-ID: 19e0530f0601060808k591ed23sf0884cac48e7263f () mail ! gmail ! com
[Download RAW message or body]

Hi team,

We have a degenerate/edge case where someone wants to send a huge
array of items. Please see
http://issues.apache.org/jira/browse/AXIS2-184 for the wsdl with
embedded schema. Running latest SVN of xmlbeans thru YourKit profiler,
the problem is in XObj's array_setter method. The following comment in
the source code confirmed my fears :(

"// TODO - this is the quick and dirty implementation, make this faster"

Can someone please help speed things up and to reduce memory
utilization? even though i use a setArray with the whole array it gets
added one by one to the store and the whole thing crawls :(

thanks,
dims

--
Davanum Srinivas : http://wso2.com/blogs/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic