handling of blob_buf_free?

Felix Fietkau nbd at nbd.name
Wed Oct 13 04:30:21 PDT 2021


On 2021-10-13 11:32, Nick wrote:
> Does it make a difference in terms of performance to use stack buffers?
> I switched now to using stack buffers, since for me it makes the code 
> more readable not having to deal with several buffers and possible race 
> conditions. (but just my view on the topic)
Not really. It's only for the case where you need a buffer only within
one function and don't want to keep allocated memory around for it.

- Felix



More information about the openwrt-devel mailing list