bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uc_width and wcwidth optimization


From: Bruno Haible
Subject: Re: uc_width and wcwidth optimization
Date: Mon, 21 May 2018 12:03:55 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-124-generic; KDE/5.18.0; x86_64; ; )

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]