lua-users home
lua-l archive

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


Yet another small optimization is to remove `ctor' from inside
`numeric_range_tranformer1'. That avoids creating a new closure every
time you call numeric_range_tranformer1.

Also, if you use `..', you do not need to call `tostring':

                        s = s .. "," .. i

That extra function call also costs you some cents...

-- Roberto