Alexander V. Lukyanov wrote in <http://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00087.html>: > For quite some time I use this locale_charset optimization, which uses > binary search for locale alias resolution.
This is a good optimization. I ended up implementing a binary search as well, after other simplifications were done [1]. Bruno [1] http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=bb5cc1c59c039836699b096a27a82b0d1abee038
