lua-users home
lua-l archive

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

>From Tue Jul 20 14:08:05 1999
>From: Roberto Ierusalimschy <>

>You can make the code ~20% faster using local variables:

This agrees with my experience (but then Roberto's machine is similar to mine,
which is a COMPAQ 400 Mhz Pentium II running Linux 2.0.35):

Total Time = 64.23	(original version with global variables)
Total Time = 54.45	(new version with local variables)