lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Work 6 performs *much* worse than work 5 (and 5.0.2 even!) on the test 
> script below (About 70% (!) slower for sumi and about 30% for sumr.) 
> What's going on?

What's your platform? I get different results:

% uname -a
Linux Venn 2.6.5-1.358 #1 Sat May 8 09:04:50 EDT 2004 i686 i686 i386 GNU/Linux

% /usr/local/bin/lua -v bug
Lua 5.0  Copyright (C) 1994-2003 Tecgraf, PUC-Rio
iterative version took 1.030 seconds
recursive version took 2.950 seconds

% ./lua -v bug
Lua 5.1 (work6)  Copyright (C) 1994-2005 Tecgraf, PUC-Rio
iterative version took 0.900 seconds
recursive version took 3.560 seconds