Commit 2bc32606 authored by Xavier Claessens's avatar Xavier Claessens

GSequence: document that _get_length() is not O(1)
parent 2331437d
......@@ -1231,7 +1231,9 @@ g_sequence_set (GSequenceIter *iter,
* g_sequence_get_length:
* @seq: a #GSequence
* Returns the length of @seq
* Returns the length of @seq. Note that this method is O(h) where `h' is the
* height of the tree. It is thus more efficient to use g_sequence_is_empty()
* when comparing the length to zero.
* Returns: the length of @seq
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment