Skip to content

Choosing between Record and Table #476

Answered by hugomg
JLPLabs asked this question in Q&A
Discussion options

You must be logged in to vote

Records are implemented as userdata. Creating and acessing a record is faster in Pallene.

The downside of records is that they are opaque to Lua. Lua cannot create records and also cannot directly access the fields.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JLPLabs
Comment options

Answer selected by JLPLabs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants