[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Locking Table Member Additions
- From: Sean Conner <sean@...>
- Date: Wed, 18 Jun 2014 11:40:59 -0400
It was thus said that the Great Paige DePol once stated:
> On Jun 18, 2014, at 6:50 AM, Thomas Jericke <tjericke@indel.ch> wrote:
> >
> > I don't think that the example is so far away of the real world. Think
> > of configuration scripts, that essentially only store options.
>
> Okay, again, good point! :)
>
> While compiled binary scripts can be larger than the original source, I
> still think it would be an uncommon case overall, especially if the binary
> file was also stripped of debugging information. Now I want to go grab a
> bunch of random Lua scripts and compile them! ;)
Okay, here some modules I use for work on a 32-bit system:
-rw-r--r-- 1 spc spc 5972 Jun 18 11:28 IS41.lua
-rw-r--r-- 1 spc spc 7009 Jun 18 11:28 IS41.o
-rw-r--r-- 1 spc spc 1687 Jun 18 11:28 enum.lua
-rw-r--r-- 1 spc spc 2310 Jun 18 11:29 enum.o
-rw-r--r-- 1 spc spc 1250 Jun 18 11:28 person.lua
-rw-r--r-- 1 spc spc 1932 Jun 18 11:29 person.o
-rw-r--r-- 1 spc spc 5709 Jun 18 11:28 phone.lua
-rw-r--r-- 1 spc spc 5450 Jun 18 11:29 phone.o
-rw-r--r-- 1 spc spc 21440 Jun 18 11:28 picture.lua
-rw-r--r-- 1 spc spc 8526 Jun 18 11:29 picture.o
-rw-r--r-- 1 spc spc 3296 Jun 18 11:28 testbed.lua
-rw-r--r-- 1 spc spc 4789 Jun 18 11:29 testbed.o
-rw-r--r-- 1 spc spc 986 Jun 18 11:28 util.lua
-rw-r--r-- 1 spc spc 1709 Jun 18 11:29 util.o
and the same scripts on a 64-bit system:
-rw-r--r-- 1 spc spc 5972 2014-06-18 11:34 IS41.lua
-rw-r--r-- 1 spc spc 7721 2014-06-18 11:34 IS41.o
-rw-r--r-- 1 spc spc 1687 2014-06-18 11:34 enum.lua
-rw-r--r-- 1 spc spc 2550 2014-06-18 11:34 enum.o
-rw-r--r-- 1 spc spc 1250 2014-06-18 11:34 person.lua
-rw-r--r-- 1 spc spc 2176 2014-06-18 11:34 person.o
-rw-r--r-- 1 spc spc 5709 2014-06-18 11:34 phone.lua
-rw-r--r-- 1 spc spc 6058 2014-06-18 11:34 phone.o
-rw-r--r-- 1 spc spc 21440 2014-06-18 11:34 picture.lua
-rw-r--r-- 1 spc spc 8914 2014-06-18 11:34 picture.o
-rw-r--r-- 1 spc spc 3296 2014-06-18 11:34 testbed.lua
-rw-r--r-- 1 spc spc 5425 2014-06-18 11:34 testbed.o
-rw-r--r-- 1 spc spc 986 2014-06-18 11:34 util.lua
-rw-r--r-- 1 spc spc 1933 2014-06-18 11:35 util.o
With one exception, the compiled versions are larger than the source
versions. And that one exception is an exception because of one very large
constant string of binary data (it's an embedded gif).
> For the situation that originated this discussion, the use of Lua on
> restricted hardware, I think the use of compiled (and stripped) scripts
> and the removal of the parser from the Lua core could be beneficial
> overall.
Maybe. One should measure.
-spc (Twice. Then curse when you realize both measurements were
made with the wrong units ... )
- References:
- RE: Locking Table Member Additions, Leinen, Rick
- Re: Locking Table Member Additions, Sean Conner
- Re: Locking Table Member Additions, Tom N Harris
- RE: Locking Table Member Additions, Leinen, Rick
- Re: Locking Table Member Additions, Sean Conner
- Re: Locking Table Member Additions, Paige DePol
- Re: Locking Table Member Additions, Thomas Jericke
- Re: Locking Table Member Additions, Paige DePol
- Re: Locking Table Member Additions, Thomas Jericke
- Re: Locking Table Member Additions, Paige DePol