After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634968 - GArray could use a binary search function
GArray could use a binary search function
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: garray
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-11-16 07:05 UTC by Christian Hergert
Modified: 2018-05-24 12:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adds g_array_binary_search() (3.70 KB, patch)
2010-11-16 07:06 UTC, Christian Hergert
none Details | Review

Description Christian Hergert 2010-11-16 07:05:01 UTC
There are times when a binary search for a GArray is rather useful. Most
developers seem to just implement it themselves. Therefore, it might make
sense to include in glib directly.
Comment 1 Christian Hergert 2010-11-16 07:06:23 UTC
Created attachment 174587 [details] [review]
adds g_array_binary_search()

Adds a basic binary search implementation called g_array_binary_search().
Comment 2 GNOME Infrastructure Team 2018-05-24 12:52:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/373.