lua-users home
lua-l archive

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


On Tue, Nov 6, 2012 at 10:02 AM, spir <denis.spir@gmail.com> wrote:
> (Also, I guess somehow tostring is actually not invoked if the arg is
> already a string?)

I'd imagine tostring() is pretty cheap if it's argument is already a
string, probably faster than doing an explicit check first.

And if you need speed, then C is your friend ;)

steve d.