lua-users home
lua-l archive

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


> What happens if you use full paths to the executable? That is, is it
> just the file name itself, or something to do with argv data.

Probably argv:

roberto@arraial:~/prj/lua$ lua temp
0.9
roberto@arraial:~/prj/lua$ ./lua temp
0.57
roberto@arraial:~/prj/lua$ lua temp a
0.58

(I already had that kind of behavior before, but it was clearly some
issue with the GC versus differences in the initial memory allocations
caused by the 'arg' table. But this test with 'table.move' does zero
allocations during the measured code.)

-- Roberto