diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-03-05 23:55:50 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-03-05 23:55:50 +0000 |
| commit | 659bfe91cefe4aa64fe72c517653c3f318f5ce57 (patch) | |
| tree | 38c1a3441807298eae643d54afb8245194e71352 /cpp/include/qpid/framing | |
| parent | 2629c625a302ee4dd98e10173407c0c90aa8def1 (diff) | |
| download | qpid-python-659bfe91cefe4aa64fe72c517653c3f318f5ce57.tar.gz | |
QPID-3883: Using application headers in messages causes a very large slowdown
Some more tidying up of the FieldTable implementation:
- implement a more selective copy constructor
- keep the encoded data in case we are used again
- more careful raw bytes cache flush
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1297290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/framing')
| -rw-r--r-- | cpp/include/qpid/framing/FieldTable.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/include/qpid/framing/FieldTable.h b/cpp/include/qpid/framing/FieldTable.h index b404a06c9a..2592e8f124 100644 --- a/cpp/include/qpid/framing/FieldTable.h +++ b/cpp/include/qpid/framing/FieldTable.h @@ -58,7 +58,9 @@ class FieldTable typedef ValueMap::value_type value_type; QPID_COMMON_EXTERN FieldTable(); - // Compiler default copy, assignment and destructor are fine + QPID_COMMON_EXTERN FieldTable(const FieldTable&); + QPID_COMMON_EXTERN FieldTable& operator=(const FieldTable&); + // Compiler default destructor fine QPID_COMMON_EXTERN uint32_t encodedSize() const; QPID_COMMON_EXTERN void encode(Buffer& buffer) const; QPID_COMMON_EXTERN void decode(Buffer& buffer); |
