httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: "locale" project
Date Fri, 19 Dec 1997 19:24:48 GMT
Oh it's easy to do that efficiently -- it's just a matter of reading the
data once when you create the locale object, we'd do that at config time. 
It's nice to know they're dealing with this... it's unfortunate it's in
C++. 

Dean

On Fri, 19 Dec 1997, Ingo Luetkebohle wrote:

> Just piping in here...
> 
> áÎÄÒÅÊ þÅÒÎÏ× wrote:
> > > > > A big worry here is that setlocale() is an expensive function.  On
> > > > > Solaris, for example, it involves reading a file off disk.  So we
can't
> > > > > just switch locales at will.  It's unfortunate, but it's not possible
for
> > > > > a POSIX program to exist in two locales at once.
> 
> Well, the new C++ draft standard allows you to use multiple locales at
> once, intermixed, in the same process. I don´t know how its implemented,
> but it might be worth a look -- I doubt they´d put something inherently
> slow into the standard library.
> 
> ---Ingo Luetkebohle
> dev/consulting Gesellschaft fuer Netzwerkentwicklung und -beratung mbH
> url: http://www.devconsult.de/ - fon: 0521-1365800 - fax: 0521-1365803
> 


Mime
View raw message