[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT with vectors
- From: Alex Queiroz <asandroq@...>
- Date: Thu, 18 Nov 2010 11:29:04 -0200
Hallo,
On Thu, Nov 18, 2010 at 11:24 AM, Nilson <nilson.brazil@gmail.com> wrote:
>
> I had the same impression, but analyzing the resulted assembly code I
> realized that the performance of switch depends on the compiler that
> you use. Lua's team always defines the values used by the switch
> statements in a minimal range (excellent design). So the compiler can
> create a Table Of Address to jump to the case option.
>
Ah, very interesting! I didn't know that, thank you.
--
-alex
http://www.artisancoder.com/