Clifford Jansen created PROTON-2859: ---------------------------------------
Summary: Improve performance of pn_buffer_t defrag Key: PROTON-2859 URL: https://issues.apache.org/jira/browse/PROTON-2859 Project: Qpid Proton Issue Type: Improvement Components: proton-c Affects Versions: proton-c-0.39.0 Reporter: Clifford Jansen Assignee: Clifford Jansen Currently the only optimization in defrag is a check in rotate to do skip memory copies if the rotation amount is zero. Otherwise, the full capacity is rotated one byte at a time, even if there is only one byte of content. Propose to check if the data in the buffer is currently contiguous and only move actual content via memmove. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org