[Top][All Lists]

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

Re: Call to locale_charset within wcwidth

From: Daiki Ueno
Subject: Re: Call to locale_charset within wcwidth
Date: Sun, 01 Feb 2015 19:07:35 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Perhaps we could call _configthreadlocale to see if the value of
> setlocale can be cached?

Yes, but then we would need to hook setlocale to invalidate the cache,
and currently the setlocale module is not listed in the dependencies of
localcharset.  I'm wondering if it is worth adding the dependency for
this particular performance problem.  Perhaps it might be easier to add
a new API to localcharset for single-threaded / single-locale consumer.

Daiki Ueno

reply via email to

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