lua-users home
lua-l archive

Lua executable size

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


Hello Lua,
thanks for answers on Win32 API question. i just develop another
Explore context menu extension and prefer to move as much as possible
from C code (i hate manual mem management)
my next question is about Lua executable/library size. i've downloaded
almost all LuaBinaries for windows. they have very different sizes:
lua5_1_4_Win32_dll6_lib.zip (dll) 122 kb
lua5_1_4_Win32_dll9_lib.zip (dll) 153 kb
lua5_1_4_Win32_mingw3_lib.zip (a) 210 kb
lua5_1_4_Win32_vc6_lib.zip (lib) 445 kb
lua5_1_4_Win32_vc9_lib.zip (lib) 475 kb
now i use the last, that adds ~280 kb to my program. it's a bit
overkill for me, so i wonder how to reduce it - does it mainly depend
on compiler, compilation switches, something else?
i can't understand why VC9 dll is just 150kb while VC9 lib adds 280 kb
to the program
and the last question - does *standard* Lua libraries provide way to
catenate two arrays?
-- 
Best regards,
 Bulat mailto:Bulat.Ziganshin@gmail.com

AltStyle によって変換されたページ (->オリジナル) /