On Tue, Dec 13, 2011 at 11:32:53AM +0100, Bruno Haible wrote: > I would love to have locale_charset be either faster or use some thread-safe > cache. Do you have an idea how to realize this?
BTW, is it possible to hook setlocale call to reset or disable the cache? E.g. save thread-id with the cache and if next time we get another charset with different thread-id, then disable the cache altogether. -- Alexander.