lua-users home
lua-l archive

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


> >   - 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'
is slow?

-- Roberto