Minor optimizations to speed up bgp and xmpp updates
Following changes are implemented:
- Cache string representation for BgpPeer ToString and ToUVEKey
- Cache string representation for InetRoute and Inet6Route ToString
- Cache string representation for XmppConnection ToUVEKey
- Implement MacAddress::ToString more efficiently
Reviewed: https:/ /review. opencontrail. org/21879 github. org/Juniper/ contrail- controller/ commit/ a3d31316526c253 91c1305c34c0c6f 406d5a1d45
Committed: http://
Submitter: Zuul
Branch: R3.1
commit a3d31316526c253 91c1305c34c0c6f 406d5a1d45
Author: Nischal Sheth <email address hidden>
Date: Mon Jul 11 11:18:05 2016 -0700
Minor optimizations to speed up bgp and xmpp updates
Following changes are implemented:
- Cache string representation for BgpPeer ToString and ToUVEKey :ToString more efficiently
- Cache string representation for InetRoute and Inet6Route ToString
- Cache string representation for XmppConnection ToUVEKey
- Implement MacAddress:
Change-Id: I3ccbe47e77ab30 3c7744636415a89 b4b8d0763e1
Partial-Bug: 1591399