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

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

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

PROTON-2751: Use pn_rwbytes_t not pn_buffer_t for scratch space


> Reduce use of pn_buffer_t when not needed
> -----------------------------------------
>
>                 Key: PROTON-2751
>                 URL: https://issues.apache.org/jira/browse/PROTON-2751
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>
> pn_buffer_t has complex logic to hold and manage a ring buffer. But is being 
> used just to manage a resizeable bytes buffer. And in most of those places 
> the buffer doesn't really nned to be resized either!
> So it can be replaced in many places with much simpler code.



--
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

Reply via email to