Perhaps an 80M script isn't that excessive …

Around three months ago, I found a bug in Lua [1] (and yes, it's silly to run an 80M (megabyte) script, but then, I tend to do silly things with programs). I reported the error to the Lua mailing list, and a few days later it was posted as a known bug with a one line patch to fix it [2].

And yes, I just got around to retesting Lua (with a version that has every patch applied, including the patch for the bug I found) with my 80M script:

>
```
[spc]lucy:/tmp/lua>time lua -i show.lua
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> dofile("default.lua")
> os.exit()
real 0m10.964s
user 0m5.880s
sys 0m0.376s
[spc]lucy:/tmp/lua>
```

Much better.

[1] /boston/2009/11/10.1

[2] http://www.lua.org/bugs.html#5.1.4-6

Gemini Mention this post

Contact the author