Re:Fewer mallocs in curl
by lkjalsdkfjasdf on Sunday April 23, 2017 @03:05PM
(#14179809)
This only shows the naivete of the author. There are plenty of C programmers that aren't malloc abusers and like to avoid any potential syscall usage. Instrusive linked lists is a beginner C topic.
[ Parent
| on HN ]
Re:Fewer mallocs in curl
by circular_logic on Monday April 24, 2017 @04:24AM
(#14182712)
I'm a C beginner so I found it quite useful. ;)
Your comment makes it sound like everyone should do this. Are there not reasons to have a non intrusive list as well? For example if the structure is used elsewhere and you don't want to tie it to that list implementation. Or if you want to point to the same structure many times in a list?