You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/01 20:32:00 UTC

[jira] [Commented] (PROTON-2425) Tweak pn_buffer code to use memcpy instead of memmove

    [ https://issues.apache.org/jira/browse/PROTON-2425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408366#comment-17408366 ] 

ASF subversion and git services commented on PROTON-2425:
---------------------------------------------------------

Commit 57836e6773fed271724e6db1757550adfc7b066a in qpid-proton's branch refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=57836e6 ]

PROTON-2425: [C] Tweak pn_buffer code to use memcpy

It's guaranteed that the memory in these operations can't overlap so
use memcpy not memmove.


> Tweak pn_buffer code to use memcpy instead of memmove
> -----------------------------------------------------
>
>                 Key: PROTON-2425
>                 URL: https://issues.apache.org/jira/browse/PROTON-2425
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Minor
>
> This is a pretty minor change with no noticeable performance impact, but it is logically the correct copy operation here.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org