lua-users home
lua-l archive

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


Dylan wrote:
frog = 10 + 20 + 30 + 40 + 50 + 60

Are 6 "value" objects created here and not deleted until the garbage
collector runs?

No

frog = Vector{ 10, 20, 30 } + Vector{ 20, 30, 40 } + Vector{ 30, 40, 50 }

Are 3 Vector userdata (or table) objects created and not deleted until the
garbage collector runs?

Yes-- both userdata and table garbage is being generated there.

Your fear is valid. An incremental GC is the #1 thing Lua needs. It's being worked on.



--
http:// if   l .o  /