[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: JavaScript gets bigger
- From: Don Hopkins <dhopkins@...>
- Date: Thu, 14 Sep 2006 18:53:20 -0700
Hmm... Could it be that storing into a table starting at index zero
makes Lua use more memory (bypassing a table optimization for numeric
indexes starting at one)? Can anyone think of how to optimize this Lua
implementation of fannkuch to use less memory?
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fannkuch&lang=lua&id=0
-Don
Don Hopkins wrote:
Lua has a lot of catching up to do if it wants to be as big and as
slow as JavaScript.
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=javascript&lang2=lua
Any guess why the one benchmark that Lua does badly on (using lots of
memory, but not running slowly) is fannkuch?
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fannkuch&lang=lua&id=0
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fannkuch&lang=javascript&id=0
-Don