1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-07-12 21:48:50 +02:00

Add some notes on complexity in glib/gqueue.c

Related to issue 
This commit is contained in:
Emmanuel Fleury
2019-08-06 19:12:51 +02:00
parent 69e5e12c95
commit a62fcb9af1

@ -29,7 +29,8 @@
*
* The #GQueue structure and its associated functions provide a standard
* queue data structure. Internally, GQueue uses the same data structure
* as #GList to store elements.
* as #GList to store elements with the same complexity over
* insertion/deletion (O(1)) and access/search (O(n)) operations.
*
* The data contained in each element can be either integer values, by
* using one of the [Type Conversion Macros][glib-Type-Conversion-Macros],