[riot-notifications] [RIOT-OS/RIOT] netdev: iolist not checked for empty elements on send (#11163)

Marian Buschsieweke notifications at github.com
Wed Mar 20 10:16:40 CET 2019


The `w5100` is not affected (I checked both the code and tested to be sure). The code wastes a bunch of CPU cycles that could be avoided by handling the `len == 0` case specifically. But I think this actually the right thing to do, as increasing ROM size to optimize for a special case that never occurs under normal circumstances looks like a bad deal to me. (Provided that the special case is only treated inefficient and not incorrect.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11163#issuecomment-474748136
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190320/050fbc5a/attachment.html>


More information about the notifications mailing list