[vlc-devel] freeaddrinfo: rewrite as iterative

Rémi Denis-Courmont remi at remlab.net
Sat Nov 22 10:36:03 CET 2014


Le samedi 22 novembre 2014, 18:32:17 KO Myung-Hun a écrit :
> Just out of curiosity. Any special reasons to have to use a while loop
> instead of a recursive loop ?

Same (linear) time complexity, constant versus linear memory complexity...

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list