Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
5.5.0
Description
As part of http://review.couchbase.org/#/c/90514/ to support snappy & xattr we refactored the Blob usage.
Now if the datatype is xattr & snappy then the first const Blob will decompress the existing data into a temp buffer, later we allocate a second buffer and copy existingData into that.
So we have two copies of the data, we should be able to use move semantics and steal the exisitingData buffer (which requires changes to the compression::Buffer)
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-28521 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
90514,7 | MB-28453: Remove get_body_offset usage from remove_context.cc | master | kv_engine | Status: MERGED | +2 | +1 |