glist: Clarify that g_list_nth() is expensive
Just in case people have forgotten their basic algorithms course. Seen in some pretty terrible code in the wild; hopefully mentioning the cost in the documentation will make people think twice about using a counter variable when iterating over a linked list. https://bugzilla.gnome.org/show_bug.cgi?id=741779
parent
c6312dab
Please register or sign in to comment