[ http://issues.apache.org/jira/browse/AXIS2-282?page=comments#action_12332169 ]
Srinath Perera commented on AXIS2-282: -------------------------------------- one possible thing is set the id null initially and create it at the first call of the get method that way if the ID is not used it is not created, but get method will have "null for check" additionally .. But I think that would pay off > Axis2 UUID Generator is too slow > -------------------------------- > > Key: AXIS2-282 > URL: http://issues.apache.org/jira/browse/AXIS2-282 > Project: Apache Axis 2.0 (Axis2) > Type: Improvement > Components: core > Reporter: Eran Chinthaka > Fix For: 0.93 > > According to Ant Elder : Calling to UUIDGenerator.getUUID() is _really_ slow, > takes about > 1ms on my machine, accounting for about 65% of the total service invocation! > Solution Proposed by him : To make the UUID generator a bit faster how about > doing all the complicated > computation to come up with a unique ID just the one time, then for all > subsequent requests just append an incrementing integer onto the original > unique id. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
