[Top][All Lists]

[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 15:05:35 +0400
User-agent: Mutt/1.5.21 (2010-09-15)

Here is another patch which changes linear search to bsearch.

With charset aliases of DARWIN7 case I get 10 times reduction
of benchmark execution time.

This patch should be thread-safe, in worst case it would leak
some memory _once_ (just as before).


Attachment: localcharset.c-v4
Description: Text document

reply via email to

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