[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Tom N Harris <telliamed@...>
- Date: Mon, 11 Jan 2010 17:36:48 -0500
Duboucher Thomas wrote:
>
> Ok, I have a uglier dirty hack in mind! Why not casting the two first
> char of the typename into a short. You get a unique number representing
> each type without having to use string comparison. ;)
>
Or just: if (t1[1]==t2[1] && t1[2]==t2[2])
Slightly slower, but who cares? It's an error message.
--
- tom
telliamed@whoopdedo.org
- References:
- Re: [ANN] Lua 5.2.0 (work1) now available, Alexander Gladysh
- Re: [ANN] Lua 5.2.0 (work1) now available, Ignacio Burgueño
- Re: [ANN] Lua 5.2.0 (work1) now available, steve donovan
- Re: [ANN] Lua 5.2.0 (work1) now available, Alexander Gladysh
- Re: [ANN] Lua 5.2.0 (work1) now available, steve donovan
- Re: [ANN] Lua 5.2.0 (work1) now available, Tom N Harris
- Re: [ANN] Lua 5.2.0 (work1) now available, Nevin Flanagan
- Re: [ANN] Lua 5.2.0 (work1) now available, Tom N Harris
- Re: [ANN] Lua 5.2.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (work1) now available, Tony Finch
- Re: [ANN] Lua 5.2.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (work1) now available, Duboucher Thomas