-
Christian Hergert authored
This function provides an O(1) check to determine if a sequence is empty. Compare this to the two following alternatives to perform the same check. O(h): if (0 == g_sequence_get_length (seq)) O(2h): if (g_sequence_get_begin_iter(seq) == g_sequence_get_end_iter(seq)) Where `h' is the height of the tree. https://bugzilla.gnome.org/show_bug.cgi?id=756316
8fccf8e4