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

ASF subversion and git services commented on MYNEWT-737:
--------------------------------------------------------

Commit be6ce3cc261f0fedee0807ce85aae0b287d13dd2 in incubator-mynewt-core's 
branch refs/heads/master from [~wes3]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=be6ce3c 
]

nimble/transport; MYNEWT-737: Make ble_hci_uart_tx_char more efficient

Modified the code in ble_hci_uart_tx_char to be faster. This
added a bit more code (should not have increased ram usage) and
should in general be faster than the old method and should also
free the mbufs slightly faster (each one is freed as it is
used).


> Make ble_hci_uart_tx_char more efficient
> ----------------------------------------
>
>                 Key: MYNEWT-737
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-737
>             Project: Mynewt
>          Issue Type: Improvement
>          Components: Nimble
>    Affects Versions: v1_1_0_rel, v1_0_0_rel
>            Reporter: William San Filippo
>             Fix For: v1_1_0_rel
>
>
> Recently there was a bug fixed in ble_hci_uart_tx_char(). The original code 
> assumed a single mbuf but now that we have mbuf chains, the code could 
> probably be made more efficient, as using os_mbuf_copydata and os_mbuf_adj() 
> is a bit heavyweight for single mbuf copies



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to