[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:01:58 -0200
Hallo,
On Thu, Nov 18, 2010 at 8:40 AM, Mike Pall <mikelu-1011@mike.de> wrote:
>
> [Case in point: 2 of the 3 leading open source JavaScript engines
> have now switched to the 8 byte NaN-tagging value model that's
> used by LuaJIT. Esp. Mozilla made extensive measurements before
> going for such a major change of their code base. Having a compact
> value representation pays off big time for dynamic languages.]
>
Sometimes I wonder how plain Lua can be so fast sticking only to
standard ANSI C. That's an achievement. For instance, the VM dispatch
uses the C switch statement, which is known to be slow.
--
-alex
http://www.artisancoder.com/