Re: Question about SETFIELD nil emission in table constructor codegen
Jure Bagić <[email protected]>
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <aaM-VHlucC6QBK94@archlinux> |
> Concerning literal tables, I've always asked myself why the compiler does not > build table literals with only constant members at compile time and stores > them in a constant pool, as it already does for strings and scalars. A table might have a metatable with '__index' entry, and so the table set or field set operation might do something entirely different (see 'luaV_finishset'). -- Jure -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/aaM-VHlucC6QBK94%40archlinux.
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTilOnPIAgk+VLLAS+FaQJ4QtXaNQUCaaM/ZwAKCRCFaQJ4QtXa NSPUAP4vbhTx8x7xUhLwHmyehIWGIRdz5cwvJK+uuP2hMsL4zwEAjZvegxsXwUZh ongjyy9wgWGlSC3QzFXEovkm64gxTws= =PbZx -----END PGP SIGNATURE-----