lua-users home
lua-l archive

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

> The traditional thing to do with C in this case is to run the source
> through a cruncher; this will strip out comments and whitespace, and
> the really good ones will rename all your identifiers to be as short
> as possible.

My ltokens library has a lstrip tool which strips comments and whitespace,
but does not do renaming.

See also

> To my surprise, running the script through luac makes things *bigger* --- 
> presumably due to inefficient opcode encoding.

Try luac -s.