Cache toString() results in Address class for performance gain
--------------------------------------------------------------

                 Key: QPID-3766
                 URL: https://issues.apache.org/jira/browse/QPID-3766
             Project: Qpid
          Issue Type: Improvement
          Components: Java Client
         Environment: All OS platforms.
            Reporter: Weston M. Price
            Assignee: Weston M. Price
            Priority: Trivial
             Fix For: 0.15


Address is an immutable class with a fairly expensive toString() method. Being 
that this class never changes we should cache this for performance improvements 
when running in debug/trace mode. Our internal QA department using jProfiler 
identified performance gains that could be made in doing this and I can't see 
any reason not to do so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to