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: Alexander V. Lukyanov
Subject: Re: uc_width and wcwidth optimization
Date: Thu, 15 Dec 2011 11:12:54 +0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 14, 2011 at 02:02:33PM +0400, Alexander V. Lukyanov wrote:
> It means that it is possible to avoid is_cjk_encoding() calling at all,
> because uc_width only uses encoding for cjk checking and uc_width is only
> called by wcwidth for UTF-8 case (which is not a cjk encoding).

Here is a patch for this. Not a big optimization, though.

-- 
   Alexander.

Attachment: diff
Description: Text document


reply via email to

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