[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to extract a floating point number locale-independantly
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 28 Apr 2016 16:13:26 -0300
> > - If running in a locale where '.' is not the decimal separator,
> > parsing lua could result in *many* calls to `localeconv`.
> I am not sure what you count as "many", but the code seems to call
> `localeconv` once per chunk (unless you change locales during
> parsing, in which case is plus one per change).
A curiosity: is there any special reason to believe that 'localeconv'