[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: canonical way to type a variable?
- From: Javier Guerra <javier@...>
- Date: Wed, 25 Oct 2006 01:43:37 -0500
Quoting jason bright <jaybright@gmail.com>:
> "type(myVar)" returns a string -- which is correct, but doing lots of
> string
> compares seems very inefficient (I need to argument check on some heavily
> used functions).
in Lua all equal strings are the same, so a string comparison is just a pointer
comparison
------
Javier