Matthias Clasen Optimize g_unichar_iswide
Latest commit 97a25d1 Sep 11, 2015 History
Apply the same optimization that was done for g_unichar_get_script
long ago: Use a quick check for the low end, and then remember the
midpoint of the last bsearch, since we're likely to be called for
characters that are close to each other.

This change made g_unichar_iswide disappear from profiles of the
gtk3-demo listbox example.
13 contributors

Users who have contributed to this file

@behdad @owtaylor @havocp @tml1024 @pwithnall @allisonkarlitskaya @jonmccann @vuntz @tim-janik @sorensp @djdeath @dmustieles