raiden00pl commented on pull request #2674:
URL: https://github.com/apache/incubator-nuttx/pull/2674#issuecomment-761859728


   > I am wondering if it would be worth keeping a small buffer around 2-4 
bytes that we could use instead of malloc free all of the time. This would save 
a lot of overhead for small transfers.
   
   I was thinking about something similar. 
   For NRF52832 we could even keep a buffer with the maxium supported length = 
255. 
   But for NRF52840 it doesn't make sene because the maximum length of sent 
data can be 65535.
   Another option is a buffer with a user-configurable length, and I think 
that's a pretty reasonable solution.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to