Is Enum() just a Lua table or is it optimized?

rgbDreamerrgbDreamer Join Date: 2011-10-02 Member: 125190Members
Are the Enum() constructions optimized somehow (like precompiled away) or are they just implemented with Lua tables? There's an error if I try to append to an enum, even though inserting to the end should usually be safe.

Comments

  • MaxMax Technical Director, Unknown Worlds Entertainment Join Date: 2002-03-15 Member: 318Super Administrators, Retired Developer, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, Subnautica Developer, Pistachionauts, Future Perfect Developer
    <!--quoteo(post=1883209:date=Nov 1 2011, 11:45 PM:name=rgbDreamer)--><div class='quotetop'>QUOTE (rgbDreamer @ Nov 1 2011, 11:45 PM) <a href="index.php?act=findpost&pid=1883209"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Are the Enum() constructions optimized somehow (like precompiled away) or are they just implemented with Lua tables? There's an error if I try to append to an enum, even though inserting to the end should usually be safe.<!--QuoteEnd--></div><!--QuoteEEnd-->
    There are just tables.
Sign In or Register to comment.